}
public void addConnectionInfo(String driverClass, String connectionURL, String user, String password, int loginTimeout) {
ConnectionInfo info = ConfigFactory.INSTANCE.createConnectionInfo();
ConnectionProperties connectionProperties = ConfigFactory.INSTANCE.createConnectionProperties();
connectionProperties.setDriverClass(driverClass);
connectionProperties.setDatabaseURL(connectionURL);
connectionProperties.setUserName(user);
connectionProperties.setPassword(password);
connectionProperties.setLoginTimeout(loginTimeout);
info.setConnectionProperties(connectionProperties);
config.setConnectionInfo(info);
}