X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E87DD3A5ABB for ; Sun, 5 Dec 2004 21:16:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 76010-08 for ; Sun, 5 Dec 2004 21:16:16 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 7FDC93A566F for ; Sun, 5 Dec 2004 21:16:17 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1Cb3jk-0002CF-00; Mon, 06 Dec 2004 10:16:08 +1300 Message-ID: <41B37C0D.3070905@opencloud.com> Date: Mon, 06 Dec 2004 10:22:21 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.9 (X11/20041130) X-Accept-Language: en-us, en MIME-Version: 1.0 To: cjwhite@cisco.com Cc: pgsql-jdbc@postgresql.org Subject: Re: Use of bytea References: <200412051936.iB5JaKU8027330@sj-core-3.cisco.com> In-Reply-To: <200412051936.iB5JaKU8027330@sj-core-3.cisco.com> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/25 X-Sequence-Number: 11691 Chris White (cjwhite) wrote: > Do not worry just realized how to do it using PreparedStatement. Ah, sorry, I thought you were just asking if the driver would handle it. Yeah, just use PreparedStatement.setBytes(). We use bytea values in where clauses in this way with no problems. -O