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 38D428B9C00 for ; Fri, 4 Feb 2005 10:42:50 +0000 (GMT) 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 00622-02 for ; Fri, 4 Feb 2005 10:42:44 +0000 (GMT) Received: from mail.logi-track.com (burro.logi-track.com [213.239.193.212]) by svr1.postgresql.org (Postfix) with ESMTP id 741C38B9B27 for ; Fri, 4 Feb 2005 10:42:45 +0000 (GMT) Received: from kingfisher.intern.logi-track.com (J3d81.j.pppool.de [85.74.61.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logi-track.com (Postfix) with ESMTP id B209A307F5; Fri, 4 Feb 2005 11:42:46 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logi-track.com (Postfix) with ESMTP id A9F9AAB40E; Fri, 4 Feb 2005 11:42:42 +0100 (CET) Message-ID: <420351A1.2000501@logi-track.com> Date: Fri, 04 Feb 2005 11:42:41 +0100 From: Markus Schaber User-Agent: Mozilla Thunderbird 1.0 (X11/20050116) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Oliver Jowett Cc: Vadim Nasardinov , pgsql-jdbc@postgresql.org Subject: Re: context classloader References: <200501181734.45152@vadim.nasardinov> <41ED96C4.9030401@opencloud.com> <200501182208.21287@vadim.nasardinov> <41EDDE4B.7030304@opencloud.com> In-Reply-To: <41EDDE4B.7030304@opencloud.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3451331F262CEE09624E07F1" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200502/25 X-Sequence-Number: 12205 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3451331F262CEE09624E07F1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hi, Oliver and Vadim, Oliver Jowett schrieb: >> More to the point, can someone explain what >> /org/postgresql/driverconfig.properties files are actually used for? > > Briefly, configuring driver defaults globally without having to mess > around with every application URL. > > See http://archives.postgresql.org/pgsql-jdbc/2004-10/msg00023.php for > the thread that spawned it. One usage of it is that the new postgis.jar from PostGIS 1.0 includes such a properties file, this auto-registers the PostGIS data type extensions (PGobject subclasses) for geometry, box3d and box2d within the jdbc driver just by throwing the postgis.jar into the classpath. Note that users still can override this behaviour on a datasource or connection basis via URL and addDataType(). Markus -- markus schaber | dipl. informatiker logi-track ag | rennweg 14-16 | ch 8001 zürich phone +41-43-888 62 52 | fax +41-43-888 62 53 mailto:schabios@logi-track.com | www.logi-track.com --------------enig3451331F262CEE09624E07F1 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.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCA1GiOVWsnapT9i0RAsiJAKDUT1PYg4r11rwsFbU4hdC+9ymj1gCggQGa /s8VvXJgkka86/+BjHo4tU0= =sHY0 -----END PGP SIGNATURE----- --------------enig3451331F262CEE09624E07F1--