public Object plugin(Object target) {
return Plugin.wrap(target, this);
}
public void setProperties(Properties properties) {
PropertiesHelper propertiesHelper = new PropertiesHelper(properties);
String dialectClass = propertiesHelper.getRequiredString("dialectClass");
setDialectClass(dialectClass);
setAsyncTotalCount(propertiesHelper.getBoolean("asyncTotalCount",false));
setPoolMaxSize(propertiesHelper.getInt("poolMaxSize",0));
}