Hibernate
文章平均质量分 77
shehun
这个作者很懒,什么都没留下…
展开
-
hibernate.hbm2ddl.auto 配置参数
关键字: hibernate.hbm2ddl.autohibernate.cfg.xml 中hibernate.hbm2ddl.auto配置节点如下: true create Hibernate Reference Documentation 3.6.1解释如下: hibernate.hbm2ddl.auto 在 SessionFactory ...原创 2010-10-20 15:17:24 · 169 阅读 · 0 评论 -
解决异常org.hibernate.exception.ConstraintViolationException: Could not execute JDBC
测试多对多关联时报错:org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94) at org.hibern...原创 2010-10-22 14:02:38 · 834 阅读 · 0 评论