-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Parent object is dirty?!
PostPosted: Wed Mar 10, 2004 6:38 am 
Newbie

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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 10, 2004 5:03 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
cf previous answer

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 11, 2004 3:38 am 
Newbie

Joined: Tue Mar 09, 2004 10:51 am
Posts: 16
cf????


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 12, 2004 2:06 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I answered in a previous post of you

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.