pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris White (cjwhite) <cjwhite@cisco.com>
To: cjwhite@cisco.com
To: 'Oliver Jowett' <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Use of bytea
Date: Sun, 5 Dec 2004 11:36:20 -0800
Message-ID: <200412051936.iB5JaKU8027330@sj-core-3.cisco.com> (raw)
In-Reply-To: <200412051924.iB5JOKvH001620@sj-core-4.cisco.com>

Do not worry just realized how to do it using PreparedStatement. 

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Chris White (cjwhite)
Sent: Sunday, December 05, 2004 11:24 AM
To: 'Oliver Jowett'
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Use of bytea

How? Can you give me an example. 

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Oliver Jowett
Sent: Sunday, December 05, 2004 5:23 AM
To: cjwhite@cisco.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Use of bytea

Chris White (cjwhite) wrote:
> Is it possible in jdbc to use a bytea column in a where clause and 
> compare it to byte[] object?

Yes.

-O

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly




view thread (5+ messages)  latest in thread

Message-ID: <200412051936.iB5JaKU8027330@sj-core-3.cisco.com>
Permalink:  ../200412051936.iB5JaKU8027330@sj-core-3.cisco.com/
Also on:    postgresql.org/message-id/200412051936.iB5JaKU8027330@sj-core-3.cisco.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: cjwhite@cisco.com, oliver@opencloud.com, pgsql-jdbc@postgresql.org
  Subject: Re: Use of bytea
  In-Reply-To: <200412051936.iB5JaKU8027330@sj-core-3.cisco.com>
  References: <200412051924.iB5JOKvH001620@sj-core-4.cisco.com> <200412051936.iB5JaKU8027330@sj-core-3.cisco.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