Commit 97a8c4df authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-1317] Setting proper testSQL during database setup now.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches/openfire_3_5_1@10288 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4f87b19c
......@@ -138,11 +138,13 @@
conProvider.setServerURL(serverURL);
conProvider.setUsername(username);
conProvider.setPassword(password);
conProvider.setTestSQL(DbConnectionManager.getTestSQL(driver));
JiveGlobals.setXMLProperty("database.defaultProvider.driver", driver);
JiveGlobals.setXMLProperty("database.defaultProvider.serverURL", serverURL);
JiveGlobals.setXMLProperty("database.defaultProvider.username", username);
JiveGlobals.setXMLProperty("database.defaultProvider.password", password);
JiveGlobals.setXMLProperty("database.defaultProvider.testSQL", DbConnectionManager.getTestSQL(driver));
JiveGlobals.setXMLProperty("database.defaultProvider.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