Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/App.java @ 3333:76c75c8b9ee0
SedDB: Make access to SedDB configurable over conf.xml and provide access to sessions.
flys-backend/trunk@4666 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 14 Jun 2012 15:39:42 +0000 |
parents | 8b12b338a3f6 |
children |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/App.java Thu Jun 14 10:06:34 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/App.java Thu Jun 14 15:39:42 2012 +0000 @@ -1,6 +1,7 @@ package de.intevation.flys; import de.intevation.flys.backend.SessionFactoryProvider; +import de.intevation.flys.backend.FLYSCredentials; import org.hibernate.cfg.Configuration; @@ -13,7 +14,7 @@ String [] setupScript = cfg.generateSchemaCreationScript( DialectFactory.constructDialect( - SessionFactoryProvider.DEFAULT_DIALECT)); + FLYSCredentials.getDefault().getDialect())); for (String line: setupScript) { System.out.println(line + ";");