comparison flys-backend/src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java @ 3337:69f06b83b3ec

Set correct connection provider class which package had changed in the last commit. flys-backend/trunk@4857 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 03 Jul 2012 10:02:14 +0000
parents 76c75c8b9ee0
children fb9dcc68b9c2
comparison
equal deleted inserted replaced
3336:0af4c8386ed0 3337:69f06b83b3ec
127 Properties props = new Properties(); 127 Properties props = new Properties();
128 128
129 // We rely on our own connection pool 129 // We rely on our own connection pool
130 props.setProperty( 130 props.setProperty(
131 "hibernate.connection.provider_class", 131 "hibernate.connection.provider_class",
132 "org.hibernate.connection.DBCPConnectionProvider"); 132 "de.intevation.flys.utils.DBCPConnectionProvider");
133 133
134 props.setProperty(Environment.DIALECT, credentials.getDialect()); 134 props.setProperty(Environment.DIALECT, credentials.getDialect());
135 props.setProperty(Environment.USER, credentials.getUser()); 135 props.setProperty(Environment.USER, credentials.getUser());
136 props.setProperty(Environment.PASS, credentials.getPassword()); 136 props.setProperty(Environment.PASS, credentials.getPassword());
137 props.setProperty(Environment.DRIVER, credentials.getDriver()); 137 props.setProperty(Environment.DRIVER, credentials.getDriver());

http://dive4elements.wald.intevation.org