Closed tkriik closed 3 years ago
You have a typo in your code: it's .setSavepoint
, not .setSavePoint
.
Just to be sure it all works as expected, I just added save point tests for both HikariCP and c3p0: https://github.com/seancorfield/next-jdbc/blob/develop/test/next/jdbc_test.clj#L318
Describe the bug
Hi,
I get the following error:
...when using
(.setSavePoint)
inside a(jdbc/with-transaction [tx my-datasource] ...)
block.Using
(.setSavePoint tx)
does not work, as theHikariDataSource
does not support such a method.project.clj/deps.edn