Re: Use of bytea - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Use of bytea
Date
Msg-id 41B37C0D.3070905@opencloud.com
Whole thread Raw
In response to Re: Use of bytea  ("Chris White (cjwhite)" <cjwhite@cisco.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Larry White
Date:
Subject: Re: prepared statement call fails
Next
From: Oliver Jowett
Date:
Subject: Re: prepared statement call fails