aspose file tools
The moose likes Object Relational Mapping and the fly likes about hibernate unidirectional and bidirectional Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "about hibernate unidirectional and bidirectional" Watch "about hibernate unidirectional and bidirectional" New topic
Author

about hibernate unidirectional and bidirectional

vasu chowdary
Ranch Hand

Joined: Mar 15, 2008
Posts: 73
hi i have little experience with orm.could you please tell me what is unidirectional assosiation and birectional assosiation ?when it is rewuired to use in our application?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23178

vasu chowdary wrote:hi i have little experience with orm.could you please tell me what is unidirectional assosiation and birectional assosiation ?when it is rewuired to use in our application?

Unidirectional and bidirectional refer to which objects know about each other. For example, if I have a reference to you and you don't, it is unidirectional. If we both have references, it is bidirectional. It is never required to use either. What is best depends on your application/domain/usage.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Certs: SCEA Part 1, Part 2 & 3 & Core Spring 3
vasu chowdary
Ranch Hand

Joined: Mar 15, 2008
Posts: 73
thank you very much jeany
 
 
subject: about hibernate unidirectional and bidirectional
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com