Commit 6b9d5c77 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Ported fix from branch.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10295 b35dd754-fafc-0310-a699-88a17e54d16e
parent 204c629a
...@@ -138,11 +138,13 @@ ...@@ -138,11 +138,13 @@
conProvider.setServerURL(serverURL); conProvider.setServerURL(serverURL);
conProvider.setUsername(username); conProvider.setUsername(username);
conProvider.setPassword(password); conProvider.setPassword(password);
conProvider.setTestSQL(DbConnectionManager.getTestSQL(driver));
JiveGlobals.setXMLProperty("database.defaultProvider.driver", driver); JiveGlobals.setXMLProperty("database.defaultProvider.driver", driver);
JiveGlobals.setXMLProperty("database.defaultProvider.serverURL", serverURL); JiveGlobals.setXMLProperty("database.defaultProvider.serverURL", serverURL);
JiveGlobals.setXMLProperty("database.defaultProvider.username", username); JiveGlobals.setXMLProperty("database.defaultProvider.username", username);
JiveGlobals.setXMLProperty("database.defaultProvider.password", password); JiveGlobals.setXMLProperty("database.defaultProvider.password", password);
JiveGlobals.setXMLProperty("database.defaultProvider.testSQL", DbConnectionManager.getTestSQL(driver));
JiveGlobals.setXMLProperty("database.defaultProvider.minConnections", JiveGlobals.setXMLProperty("database.defaultProvider.minConnections",
Integer.toString(minConnections)); Integer.toString(minConnections));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment