* @param p 属性
*/
@Override
public void setProperties(Properties p) {
String dialectClass = p.getProperty("dialectClass");
DBMS dbms;
if (StringHelper.isEmpty(dialectClass)) {
String dialect = p.getProperty("dbms");
Preconditions.checkArgument(!StringHelper.isEmpty(dialect), "dialect property is not found!");
dbms = DBMS.valueOf(dialect.toUpperCase());
Preconditions.checkNotNull(dbms, "plugin not super on this database.");