Re: Will Connection.createBlob be implemented any time soon?

From: Florian Weimer <fweimer(at)redhat(dot)com>
To: Tom Dunstan <pgsql(at)tomd(dot)cc>, Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Will Connection.createBlob be implemented any time soon?
Date: 2014-01-28 09:19:30
Message-ID: 52E77622.3090101@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Florian Weimer 2014-01-28 09:21:34 Re: Will Connection.createBlob be implemented any time soon?
Previous Message Andreas Joseph Krogh 2014-01-28 08:09:33 Re: Will Connection.createBlob be implemented any time soon?