Permalink
Browse files

Clean up readme to match SQL Server in project.clj

  • Loading branch information...
seancorfield committed Oct 20, 2017
1 parent 99a3d66 commit 183288ba692fbd62ba736c7b1280397dc718dc70
Showing with 2 additions and 8 deletions.
  1. +1 −7 README.md
  2. +1 −1 project.clj
View
@@ -50,19 +50,13 @@ You will also need to add dependencies for the JDBC driver you intend to use. He
* [H2](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.h2database%22%20AND%20a%3A%22h2%22)
* [HSQLDB](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22hsqldb%22%20AND%20a%3A%22hsqldb%22)
* [Microsoft SQL Server jTDS](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22net.sourceforge.jtds%22%20AND%20a%3A%22jtds%22)
* [Microsoft SQL Server -- Official MS Version](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.microsoft.sqlserver%22%20AND%20a%3A%22mssql-jdbc%22)
* [MySQL](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22mysql%22%20AND%20a%3A%22mysql-connector-java%22)
* [PostgreSQL](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.postgresql%22%20AND%20a%3A%22postgresql%22)
* [SQLite](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.xerial%22%20AND%20a%3A%22sqlite-jdbc%22)
Note: different versions of various database drivers have different Java/JVM version requirements. In particular, recent versions of Apache Derby require at least Java 8 and recent versions of H2 require at least Java 7. Clojure's Continuous Integration system uses older versions so tests can be run on Java 6 (see `pom.xml`); local testing is done with more recent versions on Java 8.
`clojure.java.jdbc` is also tested against Microsoft's own JDBC4 Driver 4.0 but that
has to be [downloaded manually](https://www.microsoft.com/en-us/download/details.aspx?id=11774) and placed in a Maven repository accessible to your system. For testing, it was installed locally as:
```clojure
;; Microsoft SQL Server JDBC4 Driver 4.0
[sqljdbc4/sqljdbc4 "4.0"]
```
Example Usage
========================================
```clojure
View
@@ -10,7 +10,7 @@
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src/main/clojure"]
:test-paths ["src/test/clojure"]
:dependencies [[org.clojure/clojure "1.9.0-beta1"]
:dependencies [[org.clojure/clojure "1.9.0-beta2"]
;; These are just the versions most recently test against
;; for your own projects, use whatever version is most
;; appropriate for you. Again, note that this project.clj

0 comments on commit 183288b

Please sign in to comment.