• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate one- to one unidirectional mapping

 
anuja Edathu
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic