Commit d8ed630e authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Fixed SQLServer database type never set.

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/branches/jive_messenger_2_2_branch@2874 b35dd754-fafc-0310-a699-88a17e54d16e
parent fe5a56b0
......@@ -540,7 +540,7 @@ public class DbConnectionManager {
}
// SQLServer, JDBC driver i-net UNA properties
else if (dbName.indexOf("sql server") != -1 &&
driverName.indexOf("una") != -1)
(driverName.indexOf("una") != -1 || driverName.indexOf("sqlserver") != -1))
{
databaseType = DatabaseType.sqlserver;
fetchSizeSupported = true;
......
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