to an object with a null id.
i have a thursday deadline. what is going on? i searche for this in the archives but found nothing.
we have been using hibernate 2.0.3, but i just switched to 2.1 because i wanted to use createSqlQuery, now, i am getting this exception.
23:57:47,321 [tcpConnection-9090-0] ERROR AssertionFailure:20 - An AssertionFailure occured - this may indicate a bug in Hibernate
net.sf.hibernate.AssertionFailure: cannot cache a reference to an object with a null id
at net.sf.hibernate.type.EntityType.disassemble(EntityType.java:89)
at net.sf.hibernate.impl.CacheEntry.disassemble(CacheEntry.java:36)
at net.sf.hibernate.impl.CacheEntry.<init>(CacheEntry.java:27)
at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:26)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2278)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2234)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2178)
at com.olt.waf.db.SessionFactory.closeThreadSession(SessionFactory.java:108)
at com.olt.waf.servlet.FacadeEntryServlet.doGet(FacadeEntryServlet.java:240)
at com.olt.waf.servlet.FacadeEntryServlet.doPost(FacadeEntryServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:534)
|