Open Session In View(Write operations are not allowed in read-only mode)
使用Spring提供的Open Session In View而引起Write operations are not allowed in read-only mode (FlushMode.NEVER) 错误解决: 在没有使用Spring提供的Open Session In View情况下,因需要在service(or Dao)层里把session关闭,所以lazy loa
转载
2009-06-13 08:46:00 ·
1005 阅读 ·
0 评论