“message”:" Error committing transaction. Cause: java.sql.SQLException:Error\r(nt Cause:java.sql.SQLException:Error",
“throwable”: “org.apache.ibatis.exceptions.PersistenceException”
mybatis 批量修改时 报的这个错,找同事看了下 说是事务原因。 把service代码放到controller 中,就可以了
“message”:" Error committing transaction. Cause: java.sql.SQLException:Error\r(nt Cause:java.sql.SQLException:Error",
“throwable”: “org.apache.ibatis.exceptions.PersistenceException”
mybatis 批量修改时 报的这个错,找同事看了下 说是事务原因。 把service代码放到controller 中,就可以了