![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springmvc
yinjihao2050
这个作者很懒,什么都没留下…
展开
-
a different object with the same identifier value was already associated with the session:
查找了两次报销单,session中有两个报销单,所以更新数据的时候,报了个错误 a different object with the same identifier value was already associated with the session:原创 2016-07-28 14:50:29 · 224 阅读 · 0 评论 -
Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushM
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' mar原创 2016-08-09 16:10:14 · 267 阅读 · 0 评论