Parent « Update « JPA Q&A





1. Hibernate Save Parent Only    stackoverflow.com

I'm having an issue with Hibernate 3.2.5, where I have to save only the parent object in a one-to-many relationship. For example, I have a flower A, that can have many details. ...

2. Not updating parent point in many-to-one    forum.hibernate.org

Beginner Joined: Tue Sep 09, 2003 9:11 pm Posts: 32 ok - I figure I'm doing something wrong but here goes: With the following code, I expect that 1 Sale object and 2 Item objects will be saved to the database. Also, the 2 Items will each have their parent order (field orderID) set to the Sale object. This doesn't seem ...

3. Parent object is dirty?!    forum.hibernate.org

When Hibernate tells that a object is 'is dirty' can this cause troubles when inserting the object? I encounter problems when trying to insert a parent and the children of this parent. The parent is a new object and the children are also new objects... When I try to insert the parent in the database Hibernate first tries to insert the ...