Package org.exolab.castor.jdo.conf

Examples of org.exolab.castor.jdo.conf.DatabaseChoice


   * @return Database configuration
   */
  public static Database createJdoDbConf(String db_name, String engine, DataSource dsConf)
  {
    Database dbConf = createJdoDbConf(db_name, engine);
    DatabaseChoice dbChoice = new DatabaseChoice();

    dbChoice.setDataSource(dsConf);
    dbConf.setDatabaseChoice(dbChoice);

    return dbConf;
  }
View Full Code Here


   * @return Database configuration
   */
  public static Database createJdoDbConf(String db_name, String engine, Driver driverConf)
  {
    Database dbConf = createJdoDbConf(db_name, engine);
    DatabaseChoice dbChoice = new DatabaseChoice();

    dbChoice.setDriver(driverConf);
    dbConf.setDatabaseChoice(dbChoice);

    return dbConf;
  }
View Full Code Here

TOP

Related Classes of org.exolab.castor.jdo.conf.DatabaseChoice

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.