JDBC事务 和 批量处理
摘要:
@Testpublic void useTransaction(){ //1.得到连接 Connection connection = null; //2.组织一个sql语句 String sql = "update account set balance = balance - 100 where 阅读全文
posted @ 2022-04-19 18:34 我要当程序源 阅读(105) 评论(0) 推荐(1) 编辑