Datasource cannot be closed when `reset` or `halt`
zerg000000 opened this issue · comments
When upgrade to database.sql.hikaricp 0.3.0
, when reset
the following exception is thrown.
(reset)
ClassCastException net.ttddyy.dsproxy.support.ProxyDataSource cannot be cast to com.zaxxer.hikari.HikariDataSource hikari-cp.core/close-datasource (core.clj:213)
*e
=>
#error{:cause "net.ttddyy.dsproxy.support.ProxyDataSource cannot be cast to com.zaxxer.hikari.HikariDataSource",
Ah, whoops! I neglected to add a test to for halting the key with a :logger
option. I'll get this fixed by tomorrow.