You could use clojure.jdbc or clojure/java.jdbc. Any samples in this page were written with clojure.jdbc
dependencies
[hikari-cp "1.7.5"]
[com.h2database/h2 "1.4.194"]
[funcool/clojure.jdbc "0.9.0"]
require
[jdbc.core :as jdbc]
[hikari-cp.core :as hikari]
datasource
(def datasource (hikari/make-datasource
{:adapter "h2"
:url "jdbc:h2:./resources/data"}))
get connection and execute some SQL
(with-open [conn (jdbc/connection datasource)]
(jdbc/execute conn "CREATE TABLE sample (id serial, some text)")
(jdbc/execute conn ["INSERT INTO sample (some) values (?)" "some-value"])
(jdbc/fetch conn ["SELECT * FROM sample"])
)