From 008dee5dce77476cee7e97529f6ff3080f83946b Mon Sep 17 00:00:00 2001 From: Kamil Szymanski Date: Sat, 18 Apr 2015 21:08:14 +0200 Subject: [PATCH 1/2] Add JDBC url to Driver class name mappings for DB2, Teradata and Firebird See gh-2843 --- .../boot/autoconfigure/jdbc/DriverClassNameProvider.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DriverClassNameProvider.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DriverClassNameProvider.java index b978429bd1..540b6d32be 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DriverClassNameProvider.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DriverClassNameProvider.java @@ -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. @@ -46,6 +46,9 @@ class DriverClassNameProvider { drivers.put("postgresql", "org.postgresql.Driver"); drivers.put("jtds", "net.sourceforge.jtds.jdbc.Driver"); drivers.put("sqlserver", "com.microsoft.sqlserver.jdbc.SQLServerDriver"); + drivers.put("firebirdsql", "org.firebirdsql.jdbc.FBDriver"); + drivers.put("db2", "com.ibm.db2.jcc.DB2Driver"); + drivers.put("teradata", "com.teradata.jdbc.TeraDriver"); DRIVERS = Collections.unmodifiableMap(drivers); } From 3c9535f26b27914446d317b42a3c06f5016754ea Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 18 Jun 2015 14:08:27 +0100 Subject: [PATCH 2/2] Add dependency management for Jaybird, Firebird's JDBC driver Closes gh-2843 --- spring-boot-dependencies/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index 31c878d1fc..e5f1c8d900 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -90,6 +90,7 @@ 1.5.3 1.2 1.1.6 + 2.2.8 2.0.6 2.7.2 2.18 @@ -1318,6 +1319,21 @@ elasticsearch ${elasticsearch.version} + + org.firebirdsql.jdbc + jaybird-jdk16 + ${jaybird.version} + + + org.firebirdsql.jdbc + jaybird-jdk17 + ${jaybird.version} + + + org.firebirdsql.jdbc + jaybird-jdk18 + ${jaybird.version} + org.flywaydb flyway-core