I posted HB-862
in further testing, I also noticed that:
The fk failure occurs when:
- entities at top of hierarchy are saved
- entity at bottom of hierarchy is saved
- the session is closed
- new session is opened
- the saved entity is retrieved
- the save entity's parent is retrieved
- that entity's parnet is retrieved and updated
However, if I close the session immediately after the "top" entities are saved, I instead get a:
Code:
net.sf.hibernate.HibernateException: You may not dereference a collection with cascade="all-delete-orphan"
when updating the topmost parent as above.
more details in the jira issue...
thanks for any advice
tyson