2014年8月28日

hibernate级联删除

摘要: 一对多的双向关联:user对应多个orderuser.xml: order.xml: 注意如果一的那方不加inverse="true",增,更可以正常,但删除会引起错误。Hibernate中的inverse在表关系映射中经常应... 阅读全文

posted @ 2014-08-28 16:39 颓废的悠然 阅读(229) 评论(0) 推荐(0) 编辑

导航