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