You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by Tim Dudgeon <td...@gmail.com> on 2016/03/06 18:39:59 UTC

Writing blobs to database

Is there any specific support in Groovy (e.g using groovy.sql.Sql) for 
writing large binary objects to the database without dropping down to 
the raw JDBC level? I couldn't find any.

To be more specific, I have an InputStream and want to write it to the 
database (in my case a Postgres bytea column). And data MUST be 
streamed, not materialized as a byte array.

Thanks
Tim