use of com.ctrip.platform.dal.dao.client.DalDirectClient in project dal by ctripcorp.
the class DalClientFactory method getClient.
public static DalClient getClient(String logicDbName) {
if (logicDbName == null)
throw new NullPointerException("Database Set name can not be null");
DalConfigure config = getDalConfigure();
// Verify if it is existed
config.getDatabaseSet(logicDbName);
return new DalDirectClient(config, logicDbName);
}
Aggregations