ID « Cascade « JPA Q&A





1. Cascade malfunction: hibernate assigns weird id's    forum.hibernate.org

Hi all. This post is long. Hibernate assigns wrong id's to a cascaded object, so it could never be loaded correctly. The mappings are here: Code: ...

2. Duplicate: Assigned Id Objects and cascading persistence    forum.hibernate.org

Newbie Joined: Wed Jun 22, 2005 9:03 am Posts: 4 Resubmiting did not see the 1st one come through Hibernate version: [INFO] Environment - Hibernate 3.0.5 Mapping documents: other mappings are not needed, they are not shown Network.hbm.xml

3. How to cascade save with predefined IDs?    forum.hibernate.org

Hi, I have understood that calling the save method could be performed in 2 different ways. Simpling calling the save method and letting hibernate generate the persistant object id, or giving to the save method the id we desire for the persistant object. My question is simple : Imagine that we want to save a whole group of objects, using cascades, ...