Package org.exolab.castor.jdo.conf

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


   * @param password password for the DB login
   * @return JDO driver configuration
   */
  public static Driver createJdoDriverConf(String driver_name, String db_url, String username, String password)
  {
    Driver driverConf = new Driver();

    driverConf.setClassName(driver_name);
    driverConf.setUrl(db_url);
    driverConf.addParam(createJdoConfParam("user", username));
    driverConf.addParam(createJdoConfParam("password", password));

    return driverConf;
  }
View Full Code Here

TOP

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

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.