最新回答 / qq_溪水潺潺_0
首先是這個是 用來一對多映射的?第一個 set 是類中的集合 ?name對應類中的set集合字段名稱table 表示 字段 所對應的 數據庫中的表 為STUDENTinverse ?是否多方 管理一方 ?否lazy 延遲加載 數據用到的時候再從數據庫中查詢下面的你也注釋了?
2016-12-19
最新回答 / 進擊的小白菜
Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: com.hellojava.entity.Student column: cid (should be mapped with insert="false" update="false")<...code...>不明白為什么? 必須添加? &upd!-- insert="false" up...
2016-12-05