From: Olivier Jeannet <jeannet@montrouge.tt.slb.com>
To: pgsql-interfaces@postgresql.org
Subject: bytea not recognized by JDBC (7.0.2)
Date: Tue, 28 Nov 2000 17:41:51 +0100
Message-ID: <3A23E04F.E71CE6E7@montrouge.tt.slb.com> (raw)
I have a problem with JDBC (postgresql.jar) and Postgres 7.0.2 . The
client is under Windows NT with JDK 1.3, and Postgres is running on
SuSE Linux 6.3 (kernel 2.2.13).
Here is my table :
create table TRANSACTIONS
(
APPLICATION_SOFTWARE_RELEASE bytea not null,
);
I insert a row (using JDBC) with success :
insert into TRANSACTIONS(APPLICATION_SOFTWARE_RELEASE) values('0005');
I select a row (with JDBC) :
select APPLICATION_SOFTWARE_RELEASE from TRANSACTIONS;
and I get the following error :
Error while processing order (select APPLICATION_SOFTWARE_RELEASE from
TRANSACTIONS ) : No class found for bytea.
How can I select a "bytea" field ?
Is there a workaround for this, or a patch ?
Is this a bug of the JDBC driver (or a not implemented feature) ?
I have looked at the mailing-list but didn't find the answer to my
problem.
Regards,
--
Olivier Jeannet - e-Payment solutions
I prefer not running 32 bit extensions for a 16 bit patch to an 8 bit
operating system originally coded for a 4 bit microprocessor, written
by a 2 bit company, that can't stand 1 bit of competition.
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jeannet@montrouge.tt.slb.com
Subject: Re: bytea not recognized by JDBC (7.0.2)
In-Reply-To: <3A23E04F.E71CE6E7@montrouge.tt.slb.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