Re: bytea not recognized by JDBC (7.0.2) - Mailing list pgsql-interfaces

From Olivier Jeannet
Subject Re: bytea not recognized by JDBC (7.0.2)
Date
Msg-id 3A2623E3.66A73425@montrouge.tt.slb.com
Whole thread Raw
In response to RE: bytea not recognized by JDBC (7.0.2)  (Peter Mount <petermount@maidstone.gov.uk>)
List pgsql-interfaces
Peter Mount wrote:

> > How can I select a "bytea" field ?
> 
> getBytes() should work.

Can you be more precise please ?
As I get an error from the JDBC driver doing the select, on what variable
should I use getBytes() ?

> > Is this a bug of the JDBC driver (or a not implemented feature) ?
> 
> No not quite. getObject() currently doesn't know about bytea, so it's
> passing it on to the Serializable code which is then failing.

And what is the solution or work around ?

Regards,

-- 
Olivier Jeannet - e-Payment solutions I prefer not running 32 bit extensions for a 16 bit patch to an 8 bit operating
systemoriginally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition.
 


pgsql-interfaces by date:

Previous
From: Constantin Teodorescu
Date:
Subject: Re: PgAccess is available on Mac OS X
Next
From: ""
Date:
Subject: server side interfaces