Upgrading from Hibernate 2.1 beta 6 to 2.1 rc1 causes more exceptions like this one to occur:
Code:
net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: {11, 42}, of class: com.docent.lms.entities.reference.ReferenceDomainAncestry
at net.sf.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:24)
at net.sf.hibernate.impl.SessionImpl.load(SessionImpl.java:1846)
at com.docent.lms.entities.reference.GeneratedDomainAncestry$Factory.getById(GeneratedDomainAncestry.java:345)
... 70 more
These new exceptions cause problems, when they propagate into my application.
Do you have some idea what changed in Hibernate? What I can do about it? (I am trying to figure it out on my own, of course.)