code: private void executeSql(final Connection connection, final String sql, final boolean isCommit) throws SQLException
     {
        if (sql != null) {
           try (Statement statement = connection.createStatement()) {
              // connection was created a few milliseconds before, so set query timeout is omitted (we assume it will succeed)
              statement.execute(sql);
           }
  
           if (isIsolateInternalQueries && !isAutoCommit) {
              if (isCommit) {
                 connection.commit();
              }
              else {
                 connection.rollback();
              }
           }
        }
     }
docs: Execute the user-specified init SQL.
  
  @param connection the connection to initialize
  @param sql the SQL to execute
  @param isCommit whether to commit the SQL after execution or not
  @throws SQLException throws if the init SQL execution fails