Merge pull request #209 from reducecombine/Transactable-meta

Make Transactable extensible via metadata
This commit is contained in:
Sean Corfield 2022-07-31 18:56:38 -07:00 committed by GitHub
commit 6f178bc5c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@
(prepare ^java.sql.PreparedStatement [this sql-params opts]
"Produce a new `java.sql.PreparedStatement` for use with `with-open`."))
(defprotocol Transactable
(defprotocol Transactable :extend-via-metadata true
"Protocol for running SQL operations in a transaction.
Implementations are provided for `Connection`, `DataSource`, and `Object`