Re: context classloader

From: Markus Schaber <schabios(at)logi-track(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Vadim Nasardinov <vadimn(at)redhat(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: context classloader
Date: 2005-02-04 10:42:41
Message-ID: 420351A1.2000501@logi-track.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)logi-track(dot)com | www.logi-track.com

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Rainer Frey 2005-02-04 10:54:56 Re: BUG #1459: Connection hangs when other connection is not
Previous Message Oliver Siegmar 2005-02-04 10:11:22 Re: Problems with infinity