hugsql

2020-10-02T00:28:06.002600Z

Has anyone made use of PGJDBC-NG, https://impossibl.github.io/pgjdbc-ng in Hugsql projects? I see that it has much better support for some of Postgres' features, like custom composite types, but I don't see an available Hugsql adapter for it yet.

curtis.summers 2020-10-02T00:36:17.002800Z

I haven’t tried it, but pgjdbc-ng driver claims to be fully JDBC 4.2 compliant, which suggests that you could use it with the existing hugsql adapters for clojure.java.jdbc (default but older) or next.jdbc (new and better).

seancorfield 2020-10-02T03:36:58.003Z

@curtis.summers He asked the same question in #sql and I answered there about using next.jdbc with HugSQL. clojure.java.jdbc was tested against the Impossibl driver. I haven't specifically tested next.jdbc against it but I can't imagine any issues...

👍 1