add sqlserver2005 support

This commit is contained in:
Looly 2024-06-10 01:56:35 +08:00
parent f0a7198645
commit 0a02b4955f

View File

@ -72,6 +72,7 @@ public class DialectFactory {
} else if (DriverNames.DRIVER_SQLSERVER.equalsIgnoreCase(driverName)) {
return new SqlServer2012Dialect(dbConfig);
} else if (DriverNames.DRIVER_SQLSERVER_OLD.equalsIgnoreCase(driverName)) {
// TODO 无法简单通过jdbc url 判断SqlServer版本
return new SqlServer2005Dialect(dbConfig);
} else if (DriverNames.DRIVER_PHOENIX.equalsIgnoreCase(driverName)) {
return new PhoenixDialect(dbConfig);