Home > Database > Mysql Tutorial > body text

centos 中mysql5.5.37版本 springmvc中的serves 执行没包涵在事物中

WBOY
Release: 2016-06-06 09:38:19
Original
1121 people have browsed it

centosmysqlspring mvc事物回滚

centos 中mysql5.5.37版本 springmvc中的serves 执行DB操作直接成功,为什么没包涵在事物中啊,本地同样版本测试没有问题,本地测试执行 save 方法是等整个事物完成后DB中才有数据,如果中途失败是会回滚的,但是在linux中一执行到save方法DB就已经有这条数据了,不知道怎么回事,求指点

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!