大家都知道hibernate 中的one-to-one 映射主要有两种策略,(1)一对一主键关联(单向和双向)。(2)一对一外键映射(单项和双向)。本...
hibernate annotation 双向 one-to-one 注解 环境: Hibernate 3.3.1 Maven 3.0.4 MySQL 5.5.13 Myeclipse 8.6.1 建表语句:...