This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Regarding one to one relationship in hibernate using foreign key associations? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Regarding one to one relationship in hibernate using foreign key associations?" Watch "Regarding one to one relationship in hibernate using foreign key associations?" New topic
Author

Regarding one to one relationship in hibernate using foreign key associations?

Gautam Bhalla
Ranch Hand

Joined: Mar 31, 2013
Posts: 30

why we use many-to-one to map one-to-one foreign key associations in hibernate?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Regarding one to one relationship in hibernate using foreign key associations?
 
Similar Threads
using hibernate with tables have no relation
hibernate one-to-one (on foreign key) vs one-to-one (on primary key)
How & where & why Hibernate inheritance is uses full
ORM and Antipatterns
Hibernate Mapping Issue