错误
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
错误代码
解决办法:
直接去掉