[Minor] Adding deregister of PostgreSQL driver and change to 9.4

This commit is contained in:
Robert von Burg 2016-02-27 16:33:01 +01:00
parent 5d557a23c0
commit e2366f3242
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ public class PostgreSqlPersistenceHandler extends StrolchComponent implements Pe
@Override
public void initialize(ComponentConfiguration componentConfiguration) throws Exception {
Driver.register();
if (Driver.isRegistered())
Driver.register();
DbConnectionBuilder connectionBuilder = new PostgreSqlDbConnectionBuilder(getContainer(),
componentConfiguration);