String driverClassName = params.get(DRIVER_CLASS_NAME_PROPERTY);
assert null != driverClassName;
try {
Class.forName(driverClassName);
} catch (ClassNotFoundException ex) {
throw new RMStoreException(ex);
}
// assert null != params.get(USER_NAME_PROPERTY);
try {
connection = DriverManager.getConnection(url,
params.get(USER_NAME_PROPERTY), params.get(PASSWORD_PROPERTY));
connection.setAutoCommit(false);
createTables();
} catch (SQLException ex) {
throw new RMStoreException(ex);
}
connectionMap.put(url, connection);
assert connection == connectionMap.get(url);
}