Unknown system variable 'tx_read_only'

   SpringMVC+SpringDataJPA(1.4.2.RELEASE)+hibernate(4.2.7)+mysql6.0的开发环境,mysql-connector要older than5.1.23,才可以调用jpa的delete方法,不让就会报这个错误:Unknown system variable 'tx_read_only'.

你可能感兴趣的:(Unknown system variable 'tx_read_only')