首页 > 移动平台 > 详细

One to One Mapping in Hibernate.

时间:2019-05-17 16:15:50      阅读:127      评论:0      收藏:0      [点我收藏+]

Firstly, we need to understand what "One to One mapping" is

  Suppose we have two tables Table A and Table B

  if each row in Table A is linked to each row in table B,

  and the number of rows in A = number of rows in B.

  Below is a good example of "One to One mapping"

   技术分享图片

 

2. How to achieve "One to One Mapping" in Hibernate?

  to be continued...

One to One Mapping in Hibernate.

原文:https://www.cnblogs.com/codingyangmao/p/10881810.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!