bonecp #33

Closed
shyblower opened this Issue Dec 19, 2011 · 1 comment

3 participants

@shyblower

just to remind you to check out bonecp (http://jolbox.com/) as an alternative to c3p0.
In my leiningen projects I exlcude the org.slf4j/slf4j-api dependency to include a more recent version like this:

:dependencies [ [com.jolbox/bonecp "0.7.1.RELEASE"
:exclusions [org.slf4j/slf4j-api]]
[org.slf4j/slf4j-api "1.6.4"]
[ch.qos.logback/logback-classic "1.0.0"]
[org.clojure/tools.logging "0.2.3"]]

This configration lets me direct all logging that's done by the libs (bonecp, h2 database, etc...) I use as well as org.clojure/tools.logging to logback. For legacy libs you can use the slf4j bridges like "jcl-over-slf4j".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment