From d57f3afdd32723428ff8c4102472601c1210de50 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 7 Oct 2016 10:23:13 +0200 Subject: [PATCH] Add XA datasource for Apache Derby Closes gh-6823 --- .../java/org/springframework/boot/jdbc/DatabaseDriver.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java b/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java index dfcb196350..aa340384c3 100644 --- a/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java +++ b/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java @@ -38,7 +38,8 @@ public enum DatabaseDriver { /** * Apache Derby. */ - DERBY("Apache Derby", "org.apache.derby.jdbc.EmbeddedDriver", null, + DERBY("Apache Derby", "org.apache.derby.jdbc.EmbeddedDriver", + "org.apache.derby.jdbc.EmbeddedXADataSource", "SELECT 1 FROM SYSIBM.SYSDUMMY1"), /**