Releases: seancorfield/next-jdbc
Releases · seancorfield/next-jdbc
1.3.847
- Fix #232 by using
as-cols
ininsert-multi!
SQL builder. Thanks to @changsu-farmmorning for spotting that bug! - Fix #229 by adding
next.jdbc.connect/uri->db-spec
which converts a URI string to a db-spec hash map; in addition, ifDriverManager/getConnection
fails, it assumes it was passed a URI instead of a JDBC URL, and retries after calling that function and then recreating the JDBC URL (which should have the effect of moving the embedded user/password credentials into the properties structure instead of the URL). - Address #228 by adding
PreparedStatement
caveat to the Oracle Tips & Tricks section. - Address #226 by adding a section on exception handling to Tips & Tricks (TL;DR: it's all horribly vendor-specific!).
- Add
on-connection
to exportedclj-kondo
configuration. - Switch
run-test
fromsh
tobb
.
1.3.834
1.3.828
- Fix #222 by correcting implementation of
.cons
on a row. - Address #221 by supporting
:column-fn
a top-level option inplan
-related functions to transform keys used in reducing function contexts. Also corrects handling of column names in schemanav
igation (which previously only supported:table-fn
and incorrectly applied it to columns as well). - Address #218 by moving
:extend-via-metadata true
after the protocols' docstrings. - Document
:useBulkCopyForBatchInsert
for Microsoft SQL Server via PR #216 -- danskarda. - Address #215 by dropping official support for JDK 8 and updating various JDBC drivers in the testing matrix.
- Address #214 by updating test/CI versions.
- Address #212 by documenting the problem with SQLite's JDBC driver.
- Fix #211 by auto-creating
clojure_test
DB in MySQL if needed; also streamline the CI processes. - Fix #210 by updating CI to test against MySQL and SQL Server.
- Switch SQL Server testing setup to
docker-compose
.
1.2.796
1.2.790
- Address #207 by supporting "db-spec" hash maps containing
:datasource
or:connection-uri
(this is otherwise undocumented and intended to aid migration fromclojure.java.jdbc
). - Address #199 by adding notes on UTC usage -- @denismccarthykerry.
- Enhance
insert-multi!
to accept a sequence of hash maps and also to support batch execution, via PR #206 -- @rschmukler. - Fix HikariCP pooling example.
1.2.780
1.2.772
- To support more tools that perform
datafy
/nav
, make rows directlynav
able (even though this is not really the correct behavior). - Address #193 by expanding the argument specs for
get-datasource
andget-connection
. - Streamline
execute-batch!
forwith-options
andwith-logging
(and this should generalize to any wrapper that satisfiesConnectable
and stores the actualConnection
under the:connectable
key). - Update log4j2 test dependency.
- Update
build-clj
to v0.6.7.