shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/BaseITCase.java
/**
     * execute sql update for statement.
     * @param connection datasource connection
     * @param sql SQL statement executed
     * @throws SQLException sql execute exception.
     */
execute sql update for statement.
@param connection datasource connection
@param sql SQL statement executed
@throws SQLException sql execute exception.
execute sql update for statement . @param connection datasource connection @param sql SQL statement executed @throws SQLException sql execute exception .
protected void executeUpdateForStatement(final Connection connection, final String sql) throws SQLException {
        try (Statement statement = connection.createStatement()) {
            statement.executeUpdate(sql);
        }
    }
protected void executeUpdateForStatement ( final Connection connection , final String sql ) throws SQLException { try ( Statement statement = connection . createStatement ( ) ) { statement . executeUpdate ( sql ) ; } }
execute sql update for statement.
execute sql update for statement .