Joined: Tue Mar 09, 2004 10:51 am Posts: 16
|
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 child objects. I think the order of insertion should be first the parent than the children...
In the debug log I see that Hibernate tells the parent object is dirty? Does this something to do with the problem that Hibernat cannot insert the objects into the database?
Thanks in advance,
Erwin.
|
|