-->
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.  [ 1 post ] 
Author Message
 Post subject: Questions on Hibernate
PostPosted: Wed Jul 06, 2011 3:33 am 
Newbie

Joined: Wed Jul 06, 2011 3:22 am
Posts: 5
Hi all,
Iam new to Hibernate.I have some questions in the mapping side.
1) As per my understanding i feel that there is no diff b/w one-many and many-one relationships except the point of view that we are looking into the relations.
What is the purpose of having <one-to-many> and <many-to-one> tags in mappings xml? --> Can i use any one to define the mapping for one-many or many-one? Is there any constraints/points that i have to keep in mind?

2) Purspose of inverse attribute? --> I went thru one of thread here.Can you make it clear to me?Does this have any relationship with many-many mapping?

Thanks.

Regards
Senthil Kumar Sekar


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

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.