后台报了Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
这时要看service层是否配置了事务@Transactional(readOnly=false)
后台报了Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
这时要看service层是否配置了事务@Transactional(readOnly=false)