摘要: 集合映射 集合映射(set, list, array,bag, map) <set name=”employees” > <key column=”depart_id”/> <one-to-many class=”Employee”/> <!-- <element type="string" col 阅读全文
posted @ 2016-05-09 10:29 破玉 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 关联映射 多对一(Employee - Department) 一对多(Department-Employee) 一对一(Person - IDCard) 多对多(teacher - student) 组件映射(User-Name) 集合映射(set, list, map, bag) inverse 阅读全文
posted @ 2016-05-09 09:44 破玉 阅读(205) 评论(0) 推荐(0) 编辑