Re: Use of bytea

From: "Chris White (cjwhite)" <cjwhite(at)cisco(dot)com>
To: <cjwhite(at)cisco(dot)com>, "'Oliver Jowett'" <oliver(at)opencloud(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Use of bytea
Date: 2004-12-05 19:36:20
Message-ID: 200412051936.iB5JaKU8027330@sj-core-3.cisco.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-jdbc

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

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

How? Can you give me an example.

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Oliver Jowett
Sent: Sunday, December 05, 2004 5:23 AM
To: cjwhite(at)cisco(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)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(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Oliver Jowett 2004-12-05 21:22:21 Re: Use of bytea
Previous Message Chris White (cjwhite) 2004-12-05 19:24:20 Re: Use of bytea

Browse pgsql-jdbc by date

  From Date Subject
Next Message Larry White 2004-12-05 19:36:54 Re: prepared statement call fails
Previous Message Michael Fuhr 2004-12-05 19:27:33 Re: SSL confirmation