首页 > 其他 > 详细

defaultAutoCommit

时间:2016-08-06 08:26:36      阅读:231      评论:0      收藏:0      [点我收藏+]

driver default The default auto-commit state of connections created by this pool. If not set then the setAutoCommit method will not be called.

如果不设置,则自动提交。此时conn.rollback(); conn.commit(); 不起作用。

只有设置为false 时,可以使用 conn.rollback();conn.commit();

 

defaultAutoCommit

原文:http://www.cnblogs.com/zno2/p/4764066.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!