Author: max.andersen(a)jboss.com
Date: 2006-11-30 05:32:20 -0500 (Thu, 30 Nov 2006)
New Revision: 10888
Modified:
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/doc/DocHelper.java
Log:
todo
Modified:
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/doc/DocHelper.java
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/doc/DocHelper.java 2006-11-30
10:32:03 UTC (rev 10887)
+++
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/doc/DocHelper.java 2006-11-30
10:32:20 UTC (rev 10888)
@@ -139,8 +139,8 @@
this.cfg = cfg;
- dialect = Dialect.getDialect(cfg.getProperties() );
-
+ dialect = cfg.buildSettings().getDialect(); // TODO: get it from somewhere
"cached".
+
Settings settings = cfg.buildSettings();
String defaultCatalog = settings.getDefaultCatalogName();