X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0920E5373B for ; Tue, 5 Apr 2005 18:52:38 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 26151-08 for ; Tue, 5 Apr 2005 17:52:29 +0000 (GMT) Received: from mail.logix-tt.com (wallaby.dingens.org [212.75.36.180]) by svr1.postgresql.org (Postfix) with ESMTP id 0066253737 for ; Tue, 5 Apr 2005 18:52:27 +0100 (BST) Received: from kingfisher.intern.logi-track.com (pD95DCF9E.dip0.t-ipconnect.de [217.93.207.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 9877BA862D; Tue, 5 Apr 2005 19:52:28 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logi-track.com (Postfix) with ESMTP id 941B5AB19C; Tue, 5 Apr 2005 19:50:51 +0200 (CEST) Message-ID: <4252CF66.3020200@logix-tt.com> Date: Tue, 05 Apr 2005 19:48:22 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Mozilla Thunderbird 1.0 (X11/20050116) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: pg@fastcrypt.com Cc: Espen Isaksen , pgsql-jdbc@postgresql.org Subject: Re: Another java connect problem References: <425121BB.8020603@statkart.no> <42527FE4.70902@fastcrypt.com> In-Reply-To: <42527FE4.70902@fastcrypt.com> X-Enigmail-Version: 0.90.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig207B4F9E62A9314BF73169E3" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/28 X-Sequence-Number: 12635 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig207B4F9E62A9314BF73169E3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------enig207B4F9E62A9314BF73169E3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCUs95OVWsnapT9i0RA6KqAJ92a/zqTkhBD7boCE6/yvnsngMz8wCeM5f3 mjEjfOVOkLo8TuWV8Kays6o= =IJiw -----END PGP SIGNATURE----- --------------enig207B4F9E62A9314BF73169E3--