Merge pull request #4119 from mdeinum/gh-4114
* pr/4119: Polish Add support for the DB2 Universal JDBC driver
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2014 the original author or authors.
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -24,6 +24,7 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Maciej Walkowiak
|
||||
* @author Marten Deinum
|
||||
* @since 1.2.0
|
||||
*/
|
||||
enum DatabaseDriver {
|
||||
@@ -87,7 +88,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user