![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate学习笔记
北京欢迎你
这个作者很懒,什么都没留下…
展开
-
hibernate中的三种状态的详细分析:
学过hibernate的人都可能都知道hibernate有三种状态,transient(瞬时状态),persistent(持久化状态)以及detached(离线状态),大家伙也许也知道这三者之间的区别,比如瞬时状态就是刚new出来一个对象,还没有被保存到数据库中,持久化状态就是已经被保存到数据库中,离线状态就是数据库中有,但是session中不存在该对象。但是大家又是否对hibernate的ses转载 2014-04-19 19:40:22 · 340 阅读 · 0 评论 -
json中net.sf.json.JSONException: There is a cycle in the hierarchy!的解决
问题: net.sf.json.JSONException: There is a cycle in the hierarchy! at net.sf.json.util.CycleDetectionStrategy$StrictCycleDetectionStrategy.handleRepeatedReferenceAsObject(CycleDetectionStrategy.java转载 2014-04-26 21:08:08 · 405 阅读 · 0 评论