数据库
首页 > 数据库> > java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed

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

作者:互联网

错误

Error updating database.  Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
### The error may exist in file [E:\javaproject\Demo11\spring-01-hellospring\spring-09-transaction\target\classes\com\kuang\mapper\UserMapper.xml]
### The error may involve com.kuang.mapper.UserMapper.addUser-Inline

 

错误代码

 

 解决办法:

    直接去掉

标签:java,read,leading,allowed,spring,may,Queries
来源: https://www.cnblogs.com/dbconfig1/p/15611107.html