e264. determining if a database supports batching.txt

来自「这里面包含了一百多个JAVA源文件」· 文本 代码 · 共 12 行

TXT
12
字号
With batch updating, a set of SQL statements is assembled and then sent altogether to the database for execution. Batch updating can improve performance. 
    try {
        DatabaseMetaData dmd = connection.getMetaData();
        if (dmd.supportsBatchUpdates()) {
            // Batching is supported
        } else {
            // Batching is not supported
        }
    } catch (SQLException e) {
    }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?