pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: cjwhite@cisco.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Use of bytea
Date: Mon, 06 Dec 2004 10:22:21 +1300
Message-ID: <41B37C0D.3070905@opencloud.com> (raw)
In-Reply-To: <200412051936.iB5JaKU8027330@sj-core-3.cisco.com>
References: <200412051936.iB5JaKU8027330@sj-core-3.cisco.com>

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



view thread (5+ messages)

Message-ID: <41B37C0D.3070905@opencloud.com>
Permalink:  ../41B37C0D.3070905@opencloud.com/
Also on:    postgresql.org/message-id/41B37C0D.3070905@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: oliver@opencloud.com, cjwhite@cisco.com, pgsql-jdbc@postgresql.org
  Subject: Re: Use of bytea
  In-Reply-To: <41B37C0D.3070905@opencloud.com>
  References: <200412051936.iB5JaKU8027330@sj-core-3.cisco.com> <41B37C0D.3070905@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox