美文网首页
JDBC 批量处理

JDBC 批量处理

作者: 指间Hrc | 来源:发表于2018-11-10 12:00 被阅读1次

    批量处理方法:

    1、Statement

    2、prepareStatement

    3、addBatch、executeBatch

    Statement:

    prepareStatement:

    addBatch、executeBatch:

    addBatch、executeBatch 这个方式做批量处理效率是最高的。

    以上为本人的一些学习笔记,如有出错欢迎指正,陆续更新!!!

    相关文章

      网友评论

          本文标题:JDBC 批量处理

          本文链接:https://www.haomeiwen.com/subject/jokzxqtx.html