Received: from snmsu2.montrouge.omnes.slb.com (snmsu2.montrouge.omnes.slb.com [163.187.152.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eASGcjt55709 for ; Tue, 28 Nov 2000 11:38:45 -0500 (EST) (envelope-from jeannet@montrouge.tt.slb.com) Received: from snmsu1.montrouge.omnes.slb.com (snmsu1 [163.187.152.2]) by snmsu2.montrouge.omnes.slb.com (8.9.3/8.9.3) with ESMTP id RAA05729 for ; Tue, 28 Nov 2000 17:37:03 +0100 (MET) Received: from montrouge.tt.slb.com (ttmdy019216.montrouge.tt.slb.com [163.187.19.216]) by snmsu1.montrouge.omnes.slb.com (8.9.3/8.9.1) with ESMTP id RAA27139 for ; Tue, 28 Nov 2000 17:31:56 +0100 (MET) Message-ID: <3A23E04F.E71CE6E7@montrouge.tt.slb.com> Date: Tue, 28 Nov 2000 17:41:51 +0100 From: Olivier Jeannet Reply-To: ojeannet@slb.com X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: bytea not recognized by JDBC (7.0.2) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200011/276 X-Sequence-Number: 313 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.