This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-14
Channels
- # aleph (1)
- # announcements (1)
- # beginners (59)
- # boot (2)
- # calva (5)
- # cider (8)
- # clj-kondo (6)
- # cljdoc (5)
- # cljsrn (11)
- # clojure (123)
- # clojure-dusseldorf (1)
- # clojure-europe (4)
- # clojure-italy (22)
- # clojure-losangeles (4)
- # clojure-nl (10)
- # clojure-spec (18)
- # clojure-uk (22)
- # clojurescript (103)
- # cursive (32)
- # data-science (1)
- # datomic (21)
- # events (2)
- # figwheel (1)
- # fulcro (12)
- # graalvm (3)
- # graphql (8)
- # jobs (2)
- # kaocha (4)
- # klipse (2)
- # lein-figwheel (4)
- # leiningen (23)
- # off-topic (11)
- # planck (11)
- # re-frame (8)
- # reagent (2)
- # reitit (3)
- # rewrite-clj (1)
- # ring (1)
- # ring-swagger (31)
- # schema (2)
- # shadow-cljs (66)
- # spacemacs (3)
- # specter (16)
- # sql (9)
- # tools-deps (16)
- # vim (26)
Thanks! I solved it by using JDBC directly, it was far easier. ReadableColumn
doesn't help because it is called after (.getObject rs ...)
while I want to replace the .getObject
. I reached my goal - discovering that the value is stored as a string (not a long as I assumed) and seeing the raw data before they are parsed into an object.
I see, I could make a custom fn to return my RowSetBuilder and send it via :builder-fn
. But it also has to implement RowBuilder
, right?
Yes. It's not a huge amount of code but it's probably another area I could make things easier to extend.
Thank you! Improvement is a never ending effort 🙂
@U0522TWDA See https://github.com/seancorfield/next-jdbc/commit/57f146ee41c949e74a06b3f27a24b65fffa9fab8 for a new as-maps-adapter
function that makes it easier to override .getObject
in a custom MapResultSetBuilder
. I'll add one for the as-*-arrays
variants too.