[Minor] Adding deregister of PostgreSQL driver and change to 9.4
(Need a break =)) )
This commit is contained in:
parent
e2366f3242
commit
e886041ab7
|
@ -66,7 +66,7 @@ public class PostgreSqlPersistenceHandler extends StrolchComponent implements Pe
|
||||||
@Override
|
@Override
|
||||||
public void initialize(ComponentConfiguration componentConfiguration) throws Exception {
|
public void initialize(ComponentConfiguration componentConfiguration) throws Exception {
|
||||||
|
|
||||||
if (Driver.isRegistered())
|
if (!Driver.isRegistered())
|
||||||
Driver.register();
|
Driver.register();
|
||||||
|
|
||||||
DbConnectionBuilder connectionBuilder = new PostgreSqlDbConnectionBuilder(getContainer(),
|
DbConnectionBuilder connectionBuilder = new PostgreSqlDbConnectionBuilder(getContainer(),
|
||||||
|
|
Loading…
Reference in New Issue