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.
This commit is contained in:
Sean Corfield 2019-11-16 00:12:13 -08:00
parent 17e5843863
commit fec1166e5c
2 changed files with 6 additions and 2 deletions

View file

@ -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"}

View file

@ -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