Re: Another java connect problem

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: pg(at)fastcrypt(dot)com
Cc: Espen Isaksen <espen(dot)isaksen(at)statkart(dot)no>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Another java connect problem
Date: 2005-04-05 17:48:22
Message-ID: 4252CF66.3020200@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi, Dave,

Dave Cramer schrieb:

> What is the postgis.jar doing? Does it still implement it's own version
> of the jdbc driver?
> the newinstance thing doesn't matter it will still work that way.
> Try it without the postgis.jar, it may be loading its version of the
> driver.

Where do you have this information from? All PostGIS versions I know
(0.7.x up to current 1.0.0RCX) do not carry any org.postgresql.Driver
class with them.

1.0 versions carry _subclasses_ of org.postgresql.Driver with them.

I have to admit that, _during compilation_, postgis uses their own
copies of org.postgresql.Connection and org.postgresql.PGConnection, but
those are not packed into postgis.jar. This ugly trick is necessary
because the postgresql.jar incompatibly renamed this class between 7.2
and 7.3, and the Debian/GIS people still want to support debian stable
which carries 7.2 with it.

Markus

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Marchant 2005-04-05 18:08:37 Re: getTransactionIsolation() causes SQLException - unrecognized configuration parameter xactisolevel
Previous Message Espen Isaksen 2005-04-05 12:18:54 Re: Another java connect problem