Package org.molgenis.generators.db

Examples of org.molgenis.generators.db.JDBCDatabaseGen


          generators.add(new MySqlCreateSubclassPerTableGen());
          generators.add(new MySqlAlterSubclassPerTableGen());
          // use multiquery optimization
          if (options.mapper_implementation.equals(MapperImplementation.MULTIQUERY))
          {
            generators.add(new JDBCDatabaseGen());
            generators.add(new DataTypeGen());
            generators.add(new MultiqueryMapperGen());
          }
          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"))
View Full Code Here

TOP

Related Classes of org.molgenis.generators.db.JDBCDatabaseGen

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.