From 3953baba81102b09ab2dad0722ba9124906d7dfb Mon Sep 17 00:00:00 2001 From: Pei-Tang Huang Date: Mon, 27 Jul 2015 16:59:56 +0800 Subject: [PATCH] Add SQLServer XA DataSource class name Closes gh-3604 --- .../springframework/boot/autoconfigure/jdbc/DatabaseDriver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DatabaseDriver.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DatabaseDriver.java index 026607762f..1897ad3116 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DatabaseDriver.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DatabaseDriver.java @@ -86,7 +86,7 @@ enum DatabaseDriver { /** * SQL Server */ - SQLSERVER("com.microsoft.sqlserver.jdbc.SQLServerDriver"); + SQLSERVER("com.microsoft.sqlserver.jdbc.SQLServerDriver", "com.microsoft.sqlserver.jdbc.SQLServerXADataSource"); private final String driverClassName;