I am using [korma "0.4.0"] in my project.
And this version of Korma, by default, uses c3p0-0.9.1.2
According to this SO post, I need c3p0-0.9.5.1 to be able to use
(-> db get-connection :datasource .getConnection)
(into-array String someVector)
Exception in thread "main" java.lang.AbstractMethodError:
project.clj, ask for the version which you need, and for good measure it's often helpful to exclude the dependency from the project which asks for the wrong version.
:dependencies [[com.mchange/c3p0 "0.9.5.1"] [korma "0.4.2" :exclusions [c3p0]]]
The dependency resolver will respect top level dependencies over nested ones, and
:exclusions will prevent the version asked for by a specific dep from being used.