Note Connection Pooling stuff is coming in 1.0.3

This commit is contained in:
Sean Corfield 2019-07-18 12:25:09 -07:00
parent 2c06b3c42e
commit 05d9b06ddc

View file

@ -18,7 +18,7 @@ for `deps.edn` or:
``` ```
for `project.clj` or `build.boot`. 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#L6-L14), 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-L19), but many other JDBC drivers for other databases should also work (e.g., Oracle, Red Shift).
## An Example REPL Session ## An Example REPL Session
@ -147,6 +147,8 @@ If `with-transaction` is given a datasource, it will create and close the connec
## Connection Pooling ## Connection Pooling
(Coming soon in version 1.0.3!)
`next.jdbc` makes it easy to use either HikariCP or c3p0 for connection pooling. `next.jdbc` makes it easy to use either HikariCP or c3p0 for connection pooling.
First, you need to add the connection pooling library as a dependency, e.g., First, you need to add the connection pooling library as a dependency, e.g.,