pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabios@logi-track.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Vadim Nasardinov <vadimn@redhat.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: context classloader
Date: Fri, 04 Feb 2005 11:42:41 +0100
Message-ID: <420351A1.2000501@logi-track.com> (raw)
In-Reply-To: <41EDDE4B.7030304@opencloud.com>
References: <Pine.BSO.4.56.0501170706010.29112@leary.csoft.net>
	<200501181734.45152@vadim.nasardinov>
	<41ED96C4.9030401@opencloud.com>
	<200501182208.21287@vadim.nasardinov>
	<41EDDE4B.7030304@opencloud.com>

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

Attachments:

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

view thread (12+ messages)  latest in thread

Message-ID: <420351A1.2000501@logi-track.com>
Permalink:  ../420351A1.2000501@logi-track.com/
Also on:    postgresql.org/message-id/420351A1.2000501@logi-track.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: schabios@logi-track.com, oliver@opencloud.com, vadimn@redhat.com
  Subject: Re: context classloader
  In-Reply-To: <420351A1.2000501@logi-track.com>
  References: <Pine.BSO.4.56.0501170706010.29112@leary.csoft.net> <200501181734.45152@vadim.nasardinov> <41ED96C4.9030401@opencloud.com> <200501182208.21287@vadim.nasardinov> <41EDDE4B.7030304@opencloud.com> <420351A1.2000501@logi-track.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