private void executeSQL ( String sqlName , String tableName , String geometryColumnName , String idColumnName , String triggerName ) { List < String > statements = ResourceIOUtils . parseSQLStatements ( SQL_DIRECTORY , sqlName ) ; for ( String statement : statements ) { String sql = substituteSqlArguments ( statement , tableName , geometryColumnName , idColumnName , triggerName ) ; executeSQL ( sql , triggerName != null ) ; } }
Execute the SQL for the SQL file name while substituting values for the table geometry column id column and trigger name