Re: Will Connection.createBlob be implemented any time soon? - Mailing list pgsql-jdbc

From Florian Weimer
Subject Re: Will Connection.createBlob be implemented any time soon?
Date
Msg-id 52E77622.3090101@redhat.com
Whole thread Raw
In response to Re: Will Connection.createBlob be implemented any time soon?  (Tom Dunstan <pgsql@tomd.cc>)
List pgsql-jdbc
On 01/28/2014 02:40 AM, Tom Dunstan wrote:

> I was under the impression that most JPA implementations will allow
> you to stick a byte[] as your property type and will handle the rest
> under the good (usually using the blob support in PreparedStatement).

If I recall correctly, you need to special-case byte[], otherwise it
will be turned into a PostgreSQL array type (probably "int array").

--
Florian Weimer / Red Hat Product Security Team


pgsql-jdbc by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: Will Connection.createBlob be implemented any time soon?
Next
From: Florian Weimer
Date:
Subject: Re: Will Connection.createBlob be implemented any time soon?