2017年9月22日

摘要: 单向List/Array映射: Bean: xml: 单向Map映射: Bean: xml: 阅读全文
posted @ 2017-09-22 20:34 对方拒收了你的消息 阅读(132) 评论(0) 推荐(0) 编辑
 
摘要: 多表继承: Bean: xml(在同一个表中,加一个字段来区分类型): xml(在不同表中): 阅读全文
posted @ 2017-09-22 20:29 对方拒收了你的消息 阅读(122) 评论(0) 推荐(0) 编辑
 
摘要: 多对多单向: Bean: xml: annotation: 多对多双向: Bean: Xml: annotation: 阅读全文
posted @ 2017-09-22 20:21 对方拒收了你的消息 阅读(134) 评论(0) 推荐(0) 编辑
 
摘要: 一对一单向(外键映射): Bean: Xml: annotation: 一对一双向(外键映射): Xml: annotation: 一对一单向(主键映射): xml: annotation: 阅读全文
posted @ 2017-09-22 20:09 对方拒收了你的消息 阅读(192) 评论(0) 推荐(0) 编辑
 
摘要: 二、一对多(单向) Bean: xml配置: annotation配置: 阅读全文
posted @ 2017-09-22 19:53 对方拒收了你的消息 阅读(137) 评论(0) 推荐(0) 编辑
 
摘要: 一:多对一(双向关联) Bean: xml配置: annotation配置: 阅读全文
posted @ 2017-09-22 19:45 对方拒收了你的消息 阅读(133) 评论(0) 推荐(0) 编辑