Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5KGtga98425 for ; Wed, 20 Jun 2001 12:55:42 -0400 (EDT) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5EERmE19756 for ; Thu, 14 Jun 2001 10:27:48 -0400 (EDT) (envelope-from Dave@micro-automation.net) Received: (qmail 19492 invoked from network); 14 Jun 2001 14:27:42 -0000 Received: from unknown (HELO INSPIRON) (206.51.23.194) by net2.micro-automation.com with SMTP; 14 Jun 2001 14:27:42 -0000 Message-ID: <0c6601c0f4dd$eed65eb0$0302a8c0@INSPIRON> Reply-To: "Dave Cramer" From: "Dave Cramer" To: "Nelson Ferreira Jr" , , References: Subject: Re: [JDBC] Trouble with 7.1.2 JDBC driver Date: Thu, 14 Jun 2001 10:25:59 -0400 Organization: Micro Automation Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Archive-Number: 200106/61 X-Sequence-Number: 1724 I think this is a known bug. If you get the sources from cvs this bug s/b fixed Dave ----- Original Message ----- From: "Nelson Ferreira Jr" To: ; Sent: Thursday, June 14, 2001 8:37 AM Subject: [JDBC] Trouble with 7.1.2 JDBC driver > > Hi, > > I have some troubles with Postgre's JDBC driver, version 7.1.2. > First, I was not able to build the driver because it always tries to > compile the version for the Enterprise Edition Java Virtual Machines, > although I only have a Standard Edition instaled in my computer (a Red Hat > 7.0 linux box). > I could only compile it when I manually edited the build.xml file, so > it right guessed the version of my Java VM. > I thought I was done when the driver worked for the first time, but > sometime later I realized that the BLOBs I've imported from a Postgres > 7.0.3 (using a java program and LargeObjectManager API) were all corrupt! > All BLOBs have only 19 bytes! > I tested it with a servlet that runs fine with 7.0.3, and it just > thrown a NullPointerException somewhere (I couldn't check where exactly it > happens yet). After, I put the servlet to run with the old 7.0 JDBC > driver, but connectiong with postgres 7.1.2, and it worked fine > (ooops... not so fine, the BLOBs were all corrupt!) > Is there any trouble with the JDBC driver that comes with 7.1.2 ? Or > maybe something got wrong when I edited build.xml ? > > > Any Ideas ? > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > >