
hibernate
gyl868
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
a different object with the same identifier value was already associated with th
[b]a different object with the same identifier value was already associated with the session: 此错误多出现在onetomany manytomany update方法中解决方法使用merge[/b]原创 2010-06-07 17:45:29 · 100 阅读 · 0 评论 -
常用的JPA标记 hibernate annotation
Table Table用来定义entity主表的name,catalog,schema等属性。 元数据属性说明: name: 表名 catalog: 对应关系数据库中的catalog schema:对应关系数据库中的schema UniqueConstraints:定义一个UniqueConstraint数组,指定需要建唯一约束的列 ...原创 2012-07-22 20:41:54 · 123 阅读 · 0 评论