Closed podviaznikov closed 6 years ago
I had the same problem and provided a pull request: https://github.com/remodoy/clj-postgresql/pull/14 . As a work-around, you can provide the missing multimethods in your own code.
@jkjuopperi can u please deploy it to clojars?
I guess we can close it, as code is already in the master
???
Has this fix been deployed to clojars? I'm having the same issue when trying to insert a sequence as JSON:
PSQLException Can't infer the SQL type to use for an instance of clojure.lang.PersistentVector. Use setObject() with an explicit Types value to specify the type to use. org.postgresql.jdbc.PgPreparedStatement.setObject (PgPreparedStatement.java:967)
Right now only maps are converted to JSON and JSONB. Would be good to have the same functionality for the sequences.