Connection is read-only. Queries leading to data modification are not allowed
Connection is read-only. Queries leading to data modification are not allowed
1.检查事务配置
2.检查方法命名
检查在诸如 loadXXXX, queryXXX 的查询方法中,是否用了update,insert ,delete 数据的操作!
我的出错的地方是 方法名是 :loadXXXOr...
原创
2014-12-04 20:10:58 ·
159 阅读 ·
0 评论