批量处理方法:
1、Statement
2、prepareStatement
3、addBatch、executeBatch
Statement:
prepareStatement:
addBatch、executeBatch:
addBatch、executeBatch 这个方式做批量处理效率是最高的。
以上为本人的一些学习笔记,如有出错欢迎指正,陆续更新!!!
1、Statement
2、prepareStatement
3、addBatch、executeBatch
addBatch、executeBatch 这个方式做批量处理效率是最高的。
以上为本人的一些学习笔记,如有出错欢迎指正,陆续更新!!!
本文标题:JDBC 批量处理
本文链接:https://www.haomeiwen.com/subject/jokzxqtx.html
网友评论