hibernate
A372826884
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在Hibernate中“有相同ID的不同对象在session中被锁定”的情况处理。
问题:a different object with the same identifier value was already associated with the session 和Found two representations of same collection。 这种情况其实就是session中有两个相同id的持久化对象。 处理方法1:就是调用hibernate中原创 2013-07-15 14:15:17 · 1738 阅读 · 0 评论 -
EhCache使用详细介绍
EhCache使用详细介绍Ehcache中不仅可以用配置文件来配置缓存,而在代码中也可以实现同样的功能。 CacheManager singletonManager = CacheManager.create(); Cache memoryOnlyCache = new Cache(“testCache”, 50000, false, false, 8, 2); Cache转载 2013-07-29 12:40:08 · 527 阅读 · 0 评论
分享