}
else if (options.mapper_implementation.equals(MapperImplementation.PREPARED_STATEMENT))
{
generators.add(new JDBCDatabaseGen());
generators.add(new DataTypeGen());
generators.add(new PStatementMapperGen());
}
} // hsqldb.org
else if (options.db_driver.equals("oracle.jdbc.driver.OracleDriver"))
{
generators.add(new OracleCreateSubclassPerTableGen());
generators.add(new JDBCDatabaseGen());
generators.add(new DataTypeGen());
generators.add(new PStatementMapperGen());
}
else if (options.db_driver.equals("org.hsqldb.jdbcDriver"))
{
logger.info("HsqlDB generators ....");
generators.add(new JDBCDatabaseGen());
generators.add(new DataTypeGen());
generators.add(new HSqlCreateSubclassPerTableGen());
generators.add(new PStatementMapperGen());
} // postgresql
else if (options.db_driver.equals("org.postgresql.Driver"))
{
generators.add(new PSqlCreateSubclassPerTableGen());
generators.add(new PStatementMapperGen());
} // h2database.com, branch of hsqldb?
else if (options.db_driver.equals("org.h2.Driver"))
{
generators.add(new HSqlCreateSubclassPerTableGen());
generators.add(new PStatementMapperGen());
} // derby, not functional ignore.
else if (options.db_driver.equals("org.apache.derby.jdbc.EmbeddedDriver"))
{
generators.add(new DerbyCreateSubclassPerTableGen());
}