使用update修改数据出现以下错误
Error updating database. Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
解决
在对应service 实现方法上添加 @Transactional(readonly = false)就可以了

使用update修改数据出现以下错误
Error updating database. Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
解决
在对应service 实现方法上添加 @Transactional(readonly = false)就可以了