- 博客(7)
- 资源 (2)
- 收藏
- 关注
转载 Hibernate异常:No row with the given identifier exists
Hibernate中常见问题 No row with the given identifier exists问题的原因及解决上面引用的这篇文章,解释的挺好的,可以参考。还有一种关于这个Hibernate异常的解决方法:就是在Hibernate框架下,各个类都存在着互相引用的关系,websiteInfo 网站表 和 UserInfo 用户表,w 表 依赖 u表。比如
2014-11-27 15:26:59 727
原创 org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read
异常:org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly'
2014-11-26 14:21:38 689
原创 java项目中引入Junit测试库
在做测试类的时候有时候 @Test 项目会报错 ,引不来Junit的测试包 。那是因为该xiangmumeiy
2014-11-12 18:59:32 10638
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人