Skip to content
Snippets Groups Projects
Unverified Commit b829cb7d authored by Chris Truter's avatar Chris Truter Committed by GitHub
Browse files

Fix reflection getting Liquibase URL (#41411)

parent 6e0f5059
No related branches found
No related tags found
No related merge requests found
......@@ -259,9 +259,9 @@
(wait-until done? sleep-ms timeout-ms)))))
(defn- liquibase->url [^Liquibase liquibase]
;; Need to this cast to get access to the metadata. We currently only use JDBC app databases.
(let [conn ^JdbcConnection (.. liquibase getDatabase getConnection)]
(-> conn .getMetaData .getURL)))
(let [conn (.. liquibase getDatabase getConnection)]
;; Need to this cast to get access to the metadata. We currently only use JDBC app databases.
(.getURL (.getMetaData ^JdbcConnection conn))))
(defn release-concurrent-locks!
"Release any locks held by this process corresponding to the same database."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment