Currently I am trying to insert a file into a postgre sql table using the 
clojure.java.jdbc library.
When I try to execute the statement, I get this message.

1. Unhandled org.postgresql.util.PSQLException
   Can't infer the SQL type to use for an instance of
   java.io.FileInputStream. Use setObject() with an explicit Types
   value to specify the type to use.

Somewhat confused here because when I was playing with a toy application 
with h2, this was not an issue.
Is there a known idiomatic way to handle inserting files into a postgres DB 
with clojure.java.jdbc?

Would appreciate any tips, and thanks in advance!


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to