[ANN] seancorfield/next.jdbc 1.0.8

219 views
Skip to first unread message

Sean Corfield

unread,
Oct 2, 2019, 11:43:20 AM10/2/19
to clo...@googlegroups.com

The next generation of clojure.java.jdbc** – a new low-level Clojure wrapper for JDBC-based access to databases!

 

https://github.com/seancorfield/next-jdbc -- source

https://cljdoc.org/d/seancorfield/next.jdbc -- documentation

https://clojars.org/seancorfield/next.jdbc -- clojars

 

It’s been about four months since I announced the “gold” 1.0.0 release here on this list so I thought it was about time to post another announcement.

 

Nearly all of the work in the last eight patch releases has gone into improving the documentation, adding clarifications, expanding examples, providing database-specific caveats (and helpful tips). The latest release includes an example of using HugSQL 0.5.1’s new next.jdbc adapter (thanks to Nikola Peric for writing that adapter!).

 

Some of the (purely additive) changes since 1.0.0:

  • Add next.jdbc.connection/->pool to support connection pooled datasources via c3p0 and HikariCP.
  • Add next.jdbc.prepare/execute-batch! to support batch execution (if your database supports it).
  • Add next.jdbc.result-set/as-maps-adapter (and as-arrays-adapter) to make it easier to deal with database-specific JDBC data types.
  • Making it easier to use next.jdbc with JDBC drivers it doesn’t already know about (both local and remote).

 

You can read the latest, complete changelog here https://github.com/seancorfield/next-jdbc/blob/master/CHANGELOG.md (including changes on master since 1.0.8).

 

If you have any questions or issues with next.jdbc, reach out to me on the Clojurians Slack via the #sql channel.

 

** clojure.java.jdbc is now considered “Stable -- working but development is irregular” here https://clojure.org/community/contrib_libs -- it will continue to get bug fixes but no new features at this point. Read https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT/doc/migration-from-clojure-java-jdbc to see what’s involved in migrating to next.jdbc (it is not a drop-in replacement).

 

Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

 

Reply all
Reply to author
Forward
0 new messages