Re: context classloader

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: context classloader
Дата
Msg-id 420351A1.2000501@logi-track.com
обсуждение исходный текст
Ответ на Re: context classloader  (Oliver Jowett <oliver@opencloud.com>)
Список 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@logi-track.com | www.logi-track.com

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Problems with infinity
Следующее
От: Oliver Siegmar
Дата:
Сообщение: Re: Problems with infinity