}else if("postgre".equals(dbType)){
dialect = new PostgreSQLDialect();
}else if("mssql".equals(dbType) || "sqlserver".equals(dbType)){
dialect = new SQLServer2005Dialect();
}else if("sybase".equals(dbType)){
dialect = new SybaseDialect();
}
if (dialect == null) {
throw new RuntimeException("mybatis dialect error.");
}
DIALECT = dialect;