-->
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.  [ 2 posts ] 
Author Message
 Post subject: bidirectional one to may
PostPosted: Mon Nov 17, 2003 3:57 am 
Newbie

Joined: Mon Nov 17, 2003 3:31 am
Posts: 6
Dear Sir,

For the document hibernate_reference_mannual section 8.2, at the very beginning, it states that when a child is added, one insert and one update is done.

I would like to know the update SQL will update which table, the parent or the child table to create the link??

And it two SQL is inefficient and may violate constraint, why the development team just remove it?? What is the purpose of such design??

Regards,
William


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 4:05 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
The inverse="true" attribute controls ownership of the link. Hibernate provides all options so your not limited thus able to meet all possible requirements.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.