Add support for the DB2 Universal JDBC driver

Closes gh-4114
This commit is contained in:
Marten Deinum
2015-10-08 08:59:39 +02:00
committed by Stephane Nicoll
parent c8e2b27e09
commit 96830a550a

View File

@@ -87,7 +87,12 @@ enum DatabaseDriver {
* SQL Server.
*/
SQLSERVER("com.microsoft.sqlserver.jdbc.SQLServerDriver",
"com.microsoft.sqlserver.jdbc.SQLServerXADataSource");
"com.microsoft.sqlserver.jdbc.SQLServerXADataSource"),
/**
* DB2 Server.
*/
DB2("com.ibm.db2.jcc.DB2Driver", "com.ibm.db2.jcc.DB2XADataSource");
private final String driverClassName;