sql

All things SQL and JDBC...
richiardiandrea 2021-03-23T17:35:33.048Z

Hi there folks, is there a way to set driver parameters in clojure.java.jdbc ? Basically I need to set autosave=conservative Like below: https://stackoverflow.com/questions/2783813/postgres-error-cached-plan-must-not-change-result-type

richiardiandrea 2021-03-23T17:36:36.048200Z

oh I might be able to use the url https://jdbc.postgresql.org/documentation/head/connect.html#connection-parameters but is there an alternative?

seancorfield 2021-03-23T17:54:12.048500Z

Just add them to the db-spec hash map.

seancorfield 2021-03-23T17:54:43.048700Z

:autosave "conservative" along with :dbtype, :dbname, etc.