hibernate
文章平均质量分 61
cswhale
这个作者很懒,什么都没留下…
展开
-
Struts2与Spring、Hibernate三者整合的过程示例
转载地址:http://www.360doc.com/content/09/0416/09/61497_3148602.shtml# 原来spring配置文件自动生成数据源和整合先后有关系,留着做个提醒吧! 示例工具:MyEclipse 7.0、Tomcat 6.0、MySqlStruts2与Spring、Hibernate三者整合的过程示例: 步骤:转载 2013-04-16 21:52:33 · 1697 阅读 · 0 评论 -
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role:no sessi
在双向多对多映射配置中遇到此问题,通过在两边把mapping文件里面的set那部分的lazy设置为false,问题得到解决。原创 2013-05-11 13:39:53 · 1159 阅读 · 0 评论 -
org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; nested
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.springframework.dao.Data原创 2013-05-11 21:48:49 · 3688 阅读 · 0 评论 -
a different object with the same identifier value was already associated with the session
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.springframework.orm.hibe原创 2013-05-11 22:57:15 · 1993 阅读 · 0 评论