From fec1166e5cfdb264a109bef25f20492872de2d17 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Sat, 16 Nov 2019 00:12:13 -0800 Subject: [PATCH] Test on JDK11; document updated Derby versions 1.15.x.y requires JDK9+ and requires two dependencies. 1.14.x.y runs on JDKs up to 11. --- deps.edn | 6 +++++- doc/getting-started.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/deps.edn b/deps.edn index feb90a5..5b68110 100644 --- a/deps.edn +++ b/deps.edn @@ -8,7 +8,11 @@ com.zaxxer/HikariCP {:mvn/version "3.4.1"} com.mchange/c3p0 {:mvn/version "0.9.5.4"} ;; JDBC drivers - org.apache.derby/derby {:mvn/version "10.14.2.0"} ; behind + ;; compatible with JDK8+: + org.apache.derby/derby {:mvn/version "10.14.2.0"} + ;; compatible only with JDK9+: + ;; org.apache.derby/derby {:mvn/version "10.15.1.3"} + ;; org.apache.derby/derbyshared {:mvn/version "10.15.1.3"} org.hsqldb/hsqldb {:mvn/version "2.5.0"} com.h2database/h2 {:mvn/version "1.4.200"} net.sourceforge.jtds/jtds {:mvn/version "1.3.1"} diff --git a/doc/getting-started.md b/doc/getting-started.md index 0755c45..0548bcd 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.md @@ -18,7 +18,7 @@ for `deps.edn` or: ``` for `project.clj` or `build.boot`. -In addition, you will need to add dependencies for the JDBC drivers you wish to use for whatever databases you are using. You can see the drivers and versions that `next.jdbc` is tested against in [the project's `deps.edn` file](https://github.com/seancorfield/next-jdbc/blob/master/deps.edn#L11-L20), but many other JDBC drivers for other databases should also work (e.g., Oracle, Red Shift). +In addition, you will need to add dependencies for the JDBC drivers you wish to use for whatever databases you are using. You can see the drivers and versions that `next.jdbc` is tested against in [the project's `deps.edn` file](https://github.com/seancorfield/next-jdbc/blob/master/deps.edn#L11-L24), but many other JDBC drivers for other databases should also work (e.g., Oracle, Red Shift). ## An Example REPL Session