printIdentifier(getConstraintName("gen", table, columns[idx].getName(), null));
printIdentifier(getGeneratorName(table, columns[idx]));
    public void createTable(Database database, Table table, Map parameters) throws IOException    {        super.createTable(database, table, parameters);        // creating generator and trigger for auto-increment        Column[] columns = table.getAutoIncrementColumns();        for (int idx = 0; idx < columns.length; idx++)        {            print("CREATE GENERATOR ");            printIdentifier(getGeneratorName(table, columns[idx]));            printEndOfStatement();            print(TERM_COMMAND);            printEndOfStatement();            print("CREATE TRIGGER ");            printIdentifier(getConstraintName("trg", table, columns[idx].getName(), null));            print(" FOR ");            printlnIdentifier(getTableName(table));            println("ACTIVE BEFORE INSERT POSITION 0 AS");            println("BEGIN");            print("IF (NEW.");            printIdentifier(getColumnName(columns[idx]));            println(" IS NULL) THEN");            print("NEW.");            printIdentifier(getColumnName(columns[idx]));            print(" = GEN_ID(");            printIdentifier(getConstraintName("gen", table, columns[idx].getName(), null));            println(", 1);");            println("END;");            print(TERM_COMMAND);            printEndOfStatement();        }    }