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
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