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

缘由:在service层设置了只读。@Transactional(readOnly = true)io 而更新的方法没有把可读设置为FALSE。解决办法是在方法上加上readOnly=FALSEservice
相关文章
相关标签/搜索