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
|
|