Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Mappngs.  RSS feed

 
Pankaj Shet
Ranch Hand
Posts: 312
Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am new to hibernate, I wish to understand when to Unidirectional Mappings and when to use Bidirectional Mappings in Hibernate?
While reading some blogs and books,  I came across the explanation stating "You Use Unidirectional Mapping while You want the domain model to control from one side of the mapping, and Bidirectional Mapping when you want the domain model to control from both sides of the mapping."

But I want to understand, when would I want the domain model to control from one side and when would I want the domain model to control from both sides.?

I request the ranchers to help me understand this in great details.

Regards,
-Pankaj.
 
Pankaj Shet
Ranch Hand
Posts: 312
Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

Can anyone please help me out?

Regards,
-Pankaj.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!