* @param password Password for the DB login.
* @return JDO driver configuration.
*/
public static Driver createDriver(final String driver, final String connect,
final String user, final String password) {
Driver driverConf = new Driver();
driverConf.setClassName(driver);
driverConf.setUrl(connect);
driverConf.addParam(createParam("user", user));
driverConf.addParam(createParam("password", password));
return driverConf;
}