wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes hibernate one- to one unidirectional mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate one- to one unidirectional mapping" Watch "hibernate one- to one unidirectional mapping" New topic
Author

hibernate one- to one unidirectional mapping

anuja Edathu
Ranch Hand

Joined: Sep 09, 2005
Posts: 84
Hi all,
I have noticed, to represent a unidirectional one to one mapping ,
<many-to-one> mapping with unique constraint true is generally being used .



Can any body tell me why can't we use the <one-to-one> mapping ? if we can use the aforesaid , could you tell me how can use that ?

Thanks & Regards
Anuja K
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hibernate one- to one unidirectional mapping