您的位置:首页 > 产品设计 > UI/UE

Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not

2017-06-18 10:34 731 查看
Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed

; SQL []; Connection is read-only. Queries leading to data modification are not allowed; nested exception is java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed] with root cause

java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:691)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)

事物配置的错误。

Dao 层的名字开头要与事物配置里面相匹配。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐