pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Trouble with 7.1.2 JDBC driver
3+ messages / 3 participants
[nested] [flat]

* Trouble with 7.1.2 JDBC driver
@ 2001-06-13 21:52  Nelson Ferreira Jr <root@radix.com.br>
  0 siblings, 0 replies; 3+ messages in thread

From: Nelson Ferreira Jr @ 2001-06-13 21:52 UTC (permalink / raw)
  To: pgsql-interfaces


   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 ?




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Trouble with 7.1.2 JDBC driver
@ 2001-06-14 12:37  Nelson Ferreira Jr <nelson@radix.com.br>
  0 siblings, 1 reply; 3+ messages in thread

From: Nelson Ferreira Jr @ 2001-06-14 12:37 UTC (permalink / raw)
  To: pgsql-interfaces; pgsql-jdbc@postgresql.org


   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 ?





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [JDBC] Trouble with 7.1.2 JDBC driver
@ 2001-06-14 14:25  Dave Cramer <Dave@micro-automation.net>
  parent: Nelson Ferreira Jr <nelson@radix.com.br>
  0 siblings, 0 replies; 3+ messages in thread

From: Dave Cramer @ 2001-06-14 14:25 UTC (permalink / raw)
  To: Nelson Ferreira Jr <nelson@radix.com.br>; pgsql-interfaces; pgsql-jdbc@postgresql.org

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" <nelson@radix.com.br>
To: <pgsql-interfaces@postgresql.org>; <pgsql-jdbc@postgresql.org>
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
>
>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-06-14 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-13 21:52 Trouble with 7.1.2 JDBC driver Nelson Ferreira Jr <root@radix.com.br>
2001-06-14 12:37 Trouble with 7.1.2 JDBC driver Nelson Ferreira Jr <nelson@radix.com.br>
2001-06-14 14:25 ` Dave Cramer <Dave@micro-automation.net>

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