pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: pg@fastcrypt.com
Cc: Espen Isaksen <espen.isaksen@statkart.no>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Another java connect problem
Date: Tue, 05 Apr 2005 19:48:22 +0200
Message-ID: <4252CF66.3020200@logix-tt.com> (raw)
In-Reply-To: <42527FE4.70902@fastcrypt.com>
References: <425121BB.8020603@statkart.no>
	<42527FE4.70902@fastcrypt.com>

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

Attachments:

  signature.asc (application/pgp-signature, 255B) download

view thread (6+ messages)

Message-ID: <4252CF66.3020200@logix-tt.com>
Permalink:  ../4252CF66.3020200@logix-tt.com/
Also on:    postgresql.org/message-id/4252CF66.3020200@logix-tt.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: schabi@logix-tt.com, pg@fastcrypt.com, espen.isaksen@statkart.no
  Subject: Re: Another java connect problem
  In-Reply-To: <4252CF66.3020200@logix-tt.com>
  References: <425121BB.8020603@statkart.no> <42527FE4.70902@fastcrypt.com> <4252CF66.3020200@logix-tt.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