• Post Reply Bookmark Topic Watch Topic
  • New Topic

about hibernate unidirectional and bidirectional  RSS feed

 
vasu chowdary
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Sheriff
Posts: 37395
531
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
vasu chowdary
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much jeany
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!