snaker-core/src/main/java/org/snaker/engine/access/AbstractDBAccess.java
protected Dialect getDialect() {
        if(dialect != null) return dialect;
		dialect = ServiceContext.getContext().find(Dialect.class);
		if(dialect == null) {
			try {
				dialect = JdbcHelper.getDialect(getConnection());
			} catch (Exception e) {
				log.error("Unable to find the available dialect.Please configure dialect to snaker.xml");
			}
		}
		return dialect;
	}
protected Dialect getDialect() {
        if(dialect != null) return dialect;
		dialect = ServiceContext.getContext().find(Dialect.class);
		if(dialect == null) {
			try {
				dialect = JdbcHelper.getDialect(getConnection());
			} catch (Exception e) {
				log.error("Unable to find the available dialect.Please configure dialect to snaker.xml");
			}
		}
		return dialect;
	}
获取数据库方言
根据数据库连接的DatabaseMetaData获取数据库厂商，自动适配具体的方言
当数据库类型未提供支持时无法自动获取方言，建议通过配置完成
@return 方言对象