Permalink
Browse files

comment out autodiscovery of SQLServer until properly verified

  • Loading branch information...
1 parent 87bd643 commit 3ed4f65600a08a61c1779d29fe6a255f7a423cc7 @koentsje koentsje committed Sep 5, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/java/org/hibernate/cfg/MetaDataDialectFactory.java
@@ -8,13 +8,15 @@
import org.hibernate.cfg.reveng.dialect.MetaDataDialect;
import org.hibernate.cfg.reveng.dialect.MySQLMetaDataDialect;
import org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect;
+//import org.hibernate.cfg.reveng.dialect.SQLServerMetaDataDialect;
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.H2Dialect;
import org.hibernate.dialect.HSQLDialect;
import org.hibernate.dialect.MySQLDialect;
import org.hibernate.dialect.Oracle8iDialect;
import org.hibernate.dialect.Oracle9Dialect;
import org.hibernate.internal.util.ReflectHelper;
+//import org.hibernate.dialect.SQLServerDialect;
public class MetaDataDialectFactory {
@@ -60,6 +62,8 @@ public MetaDataDialect fromDialect(Dialect dialect) {
return new MySQLMetaDataDialect();
} else if (dialect instanceof HSQLDialect) {
return new HSQLMetaDataDialect();
+// }else if (dialect instanceof SQLServerDialect) {
+// return new SQLServerMetaDataDialect();
}
}
return null;
@@ -78,6 +82,9 @@ public MetaDataDialect fromDialectName(String dialect) {
if (dialect.toLowerCase().contains("hsql")) {
return new HSQLMetaDataDialect();
}
+// if (dialect.toLowerCase().contains("sqlserver")) {
+// return new SQLServerMetaDataDialect();
+// }
return null;
}

0 comments on commit 3ed4f65

Please sign in to comment.