This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-10
Channels
- # announcements (9)
- # aws (11)
- # babashka (37)
- # beginners (97)
- # biff (2)
- # calva (73)
- # clj-kondo (17)
- # cljfx (3)
- # clojure (89)
- # clojure-europe (45)
- # clojure-norway (12)
- # clojurescript (17)
- # datahike (8)
- # datomic (13)
- # deps-new (4)
- # figwheel-main (1)
- # graalvm (2)
- # hyperfiddle (8)
- # introduce-yourself (6)
- # leiningen (38)
- # lsp (57)
- # malli (13)
- # nbb (46)
- # off-topic (40)
- # pathom (3)
- # polylith (8)
- # rum (4)
- # shadow-cljs (14)
- # spacemacs (1)
- # sql (11)
- # xtdb (10)
So, a CVE against the postgres jdbc driver is out https://nvd.nist.gov/vuln/detail/CVE-2022-31197 . From a quick search of next-jdbc it seems like next-jdbc does not use refreshRow
I can't say I'd even heard of that method 🙂
Is it possible to get namespaced keys in result sets in clojure.jdbc
? I'm sadly unable to move to jdbc.next
at this time
You can use the :qualifier
option -- but that will just namespace all columns with the same, fixed ns.
There's no machinery in c.j.j to expose how to get table names for columns in a result set.
You are aware that you can use c.j.j and next.jdbc
side-by-side and convert your code one query at a time @UEENNMX0T?
Yeah I'm aware, but we've built some common functions to do quoting and formatting of our honeysql v1 queries lol and we don't wanna do adhoc queries at the moment
Thanks for the quick reply, I'll keep exploring my options
Heh, at work, we have both c.j.j and next.jdbc
, and both HoneySQL v1 and v2, and we're very slowly migrated from the formers to the latters 🙂
Just as we're very slowly migrating to Polylith 🙂
okay, figured out a solution for the moment: column aliases. [:o.id "o_id"]
. it's bad lol but it works for the situation i'm in.