BaasServer 访问同一个action,批处理事务回退 在调用自定义的action 中,第一行代码先写 conn.setAutoCommit(false); 这样就开启了批处理事务,多个jdbc 语句执行操作数据库的时候,只要有一条执行错误,就会回滚了! By liangyongfei|11月 25th, 2016|Wex5常见问题, 服务端开发常见问题|0 条评论 Share This Story, Choose Your Platform! FacebookTwitterLinkedInRedditTumblrPinterestVkEmail 评一波 取消回复 评论 Save my name, email, and website in this browser for the next time I comment.
评一波