hibernate "null id in entry" exception
- From: aj <ronald@xxxxxxxxxxxxx>
- Date: Fri, 24 Jun 2005 12:06:28 -0400
Hibernate 2.1.6 DB2 8.1 Java 1.5
I am trying to debug a Swing/Hibernate database app that was written for us by a (now departed) contractor.
We are getting this exception when we save (ie session.saveOrUpdate()):
net.sf.hibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs)
It occurs pretty consistently, but not in the same spot. What seems to cause it one time will work fine another time. I'm thinking that perhaps it is non-deterministic.
Can anyone point me in the right direction or offer any advice? Is hibernate attempting to insert something into the database that does
not have it's identity column set?
TIA Allen .
- Follow-Ups:
- Re: hibernate "null id in entry" exception
- From: Georg J. Stach
- Re: hibernate "null id in entry" exception
- Prev by Date: JDBC and Access relationships
- Next by Date: Re: Hibernate -- what does this exception mean??
- Previous by thread: JDBC and Access relationships
- Next by thread: Re: hibernate "null id in entry" exception
- Index(es):
Relevant Pages
|
|