This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-15
Channels
- # announcements (1)
- # aws (79)
- # babashka (47)
- # beginners (82)
- # calva (65)
- # cider (27)
- # cljdoc (18)
- # cljs-dev (29)
- # clojure (189)
- # clojure-dev (5)
- # clojure-europe (3)
- # clojure-italy (1)
- # clojure-madison (6)
- # clojure-nl (4)
- # clojure-spec (10)
- # clojure-uk (41)
- # clojured (3)
- # clojurescript (5)
- # clojurex (17)
- # cursive (30)
- # data-science (7)
- # datomic (17)
- # emacs (3)
- # events (6)
- # fulcro (2)
- # funcool (9)
- # graalvm (29)
- # jobs-discuss (3)
- # joker (3)
- # kaocha (6)
- # malli (5)
- # music (6)
- # off-topic (21)
- # reagent (3)
- # reitit (4)
- # rewrite-clj (8)
- # shadow-cljs (49)
- # spacemacs (7)
- # sql (23)
- # tools-deps (15)
- # vim (43)
- # xtdb (19)
seancorfield/next.jdbc {:mvn/version "1.0.10"}
-- The next generation Clojure wrapper for JDBC-based database access -- https://github.com/seancorfield/next-jdbc -- all follow-up to #sql please!
Enhancements:
* Fix #75 by adding support for java.sql.Statement
to plan
, execute!
, and execute-one!
.
* Fix #73 by providing a new, optional namespace next.jdbc.date-time
that can be required if your database driver needs assistance converting java.util.Date
(PostgreSQL!) or the Java Time types to SQL timestamp
(or SQL date
/`time`).
* Address #70 by adding CLOB & BLOB SQL Types to the Tips & Tricks section of Friendly SQL Functions and by adding next.jdbc.result-set/clob-column-reader
and next.jdbc.result-set/clob->string
helper to make it easier to deal with CLOB column data.
Documentation:
* Fix link to All The Options in Migration from clojure.java.jdbc. PR #71 (@laurio).
* Clarify what execute!
and execute-one!
produce when the result set is empty (`[]` and nil
respectively, and there are now tests for this). Similarly for find-by-keys
and get-by-id
.
* Add MS SQL Server section to Tips & Tricks to note that returns an empty string for table names by default (so table-qualified column names are not available). Using the :result-type
(scroll) and :concurrency
options will cause table names to be returned.
* Clarify that Friendly SQL Functions are deliberately simple (hint: they will not be enhanced or expanded -- use plan
, execute!
, and execute-one!
instead, with a DSL library if you want!).
* Improve migration docs: explicitly recommend the use of a datasource for code that needs to work with both clojure.java.jdbc and next.jdbc; add caveats about column name conflicts (in several places).
* Improve datafy
/`nav` documentation around :schema
.
Miscellaneous:
* Address #74 by making several small changes to satisfy Eastwood.
* Update org.clojure/java.data
to "0.1.4" (0.1.2 fixes a number of reflection warnings).