Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W84pn-0006Ce-AV for pgsql-jdbc@arkaria.postgresql.org; Tue, 28 Jan 2014 09:19:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W84pm-00040n-Ne for pgsql-jdbc@arkaria.postgresql.org; Tue, 28 Jan 2014 09:19:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W84pl-00040f-QL for pgsql-jdbc@postgresql.org; Tue, 28 Jan 2014 09:19:53 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W84pa-00008G-Gt for pgsql-jdbc@postgresql.org; Tue, 28 Jan 2014 09:19:53 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0S9JXeo028517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 28 Jan 2014 04:19:33 -0500 Received: from oldenburg.str.redhat.com (oldenburg.str.redhat.com [10.33.200.60]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s0S9JU3m026437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 28 Jan 2014 04:19:32 -0500 Message-ID: <52E77622.3090101@redhat.com> Date: Tue, 28 Jan 2014 10:19:30 +0100 From: Florian Weimer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Tom Dunstan , Andreas Joseph Krogh CC: "pgsql-jdbc@postgresql.org" Subject: Re: Will Connection.createBlob be implemented any time soon? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Pg-Spam-Score: -7.4 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc