Allow Sourceable to be overridden via metadata
This commit is contained in:
parent
f217e86038
commit
4b81a42b4d
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@
|
|||
|
||||
(set! *warn-on-reflection* true)
|
||||
|
||||
(defprotocol Sourceable
|
||||
(get-datasource ^javax.sql.DataSource [this]))
|
||||
(defprotocol Sourceable :extend-via-metadata true
|
||||
(get-datasource ^javax.sql.DataSource [this] "Turn this into a javax.sql.DataSource."))
|
||||
(defprotocol Connectable
|
||||
(get-connection ^java.lang.AutoCloseable [this opts]))
|
||||
(defprotocol Executable
|
||||
|
|
|
|||
Loading…
Reference in a new issue