Skip to content

Commit b997392

Browse files
committed
Correct the name of MySQL's XADataSource implementation
Closes gh-4942
1 parent 6117b6c commit b997392

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc

1 file changed

+1
-1
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DatabaseDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ enum DatabaseDriver {
5656
/**
5757
* MySQL.
5858
*/
59-
MYSQL("com.mysql.jdbc.Driver", "org.mysql.jdbc.MySQLDataSource"),
59+
MYSQL("com.mysql.jdbc.Driver", "com.mysql.jdbc.jdbc2.optional.MysqlXADataSource"),
6060

6161
/**
6262
* Maria DB.

0 commit comments

Comments
 (0)