Questions tagged [clojure-next.jdbc]
4 questions
4
votes
3 answers
How to convert clojure's #inst literals to equivalent java.time types?
I used next.jdbc library to persist a record to a PostgreSQL table. As you can see below, the values are a LocalDate instance and an Instant instance. The SQL columns are of type DATE and TIMESTAMPTZ respectively.
Required the next.jdbc.date-time…

Gishu
- 134,492
- 47
- 225
- 308
2
votes
2 answers
next:jdbc How to allow multiple statements for SQL Server
I want to run multiple statements on a single execution against SQL Server. I do it with Node.js but I cannot run the same query using next.jdbc
For example, if I run this:
(def db {:jdbcUrl…

aym
- 233
- 1
- 4
- 17
0
votes
0 answers
clojure next.jdbc database connection via configuration, without adding driver as dependency
I'm writing a sql tool in clojure that should be able to connect to any database.
Something like a light version of HeidiSQl or DBeaver.
I'm using next.jdbc.
Unfortunately the documentation states: JDBC drivers are not provided by next.jdbc -- you…

Pasduti
- 63
- 8
0
votes
1 answer
next.jdbc - unable to find valid certification path to requested target
The error
; Execution error (SunCertPathBuilderException) at
sun.security.provider.certpath.SunCertPathBuilder/build
(SunCertPathBuilder.java:141). ; unable to find valid certification
path to requested target
The code (Clojure)
(ns backend.core
…

Raphael
- 813
- 1
- 8
- 17