pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: Markus Schaber <schabios@logi-track.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Avoiding explicit addDataType calls for PostGIS
Date: Mon, 08 Nov 2004 22:23:37 +1300
Message-ID: <418F3B19.9000708@opencloud.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0411080400340.11414@leary.csoft.net>
References: <20041006181653.4fc83924@kingfisher.intern.logi-track.com>
	<41645F7A.2040106@opencloud.com>
	<20041007104603.78af41f3@kingfisher.intern.logi-track.com>
	<416B63BF.4090304@opencloud.com>
	<Pine.BSO.4.56.0410190144280.28027@leary.csoft.net>
	<417588E7.7020205@opencloud.com>
	<20041103122816.1c6ab2de@kingfisher.intern.logi-track.com>
	<418939E6.7030602@opencloud.com>
	<20041104113056.5a906179@kingfisher.intern.logi-track.com>
	<Pine.BSO.4.56.0411080331420.11414@leary.csoft.net>
	<418F3340.306@opencloud.com>
	<Pine.BSO.4.56.0411080400340.11414@leary.csoft.net>

Kris Jurka wrote:

> Let me be more clear.  I like the properties file method for configuring 
> external libraries (postgis), but I don't like it for configuring the 
> driver itself.  Specifically consider your addition of prepareThreshold=5, 
> suppose I wanted to override this setting with my own properties file.  
> Then I'd have to be real careful about how I setup my classpath.

Ah, ok.

Currently, if someone wants to change a default, they have to either 
modify the driver source and recompile, or remember to override the 
built-in default in every single URL ever used.

If the default is stored in a properties file packaged with the driver, 
they can tweak the default by editing that properties file, which seems 
much easier.

I agree that trying to manage multiple properties files that override 
each other is confusing, because it's so dependent on what the 
classloader decides to do. So don't do that!

-O



view thread (21+ messages)  latest in thread

Message-ID: <418F3B19.9000708@opencloud.com>
Permalink:  ../418F3B19.9000708@opencloud.com/
Also on:    postgresql.org/message-id/418F3B19.9000708@opencloud.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: oliver@opencloud.com, books@ejurka.com, schabios@logi-track.com
  Subject: Re: Avoiding explicit addDataType calls for PostGIS
  In-Reply-To: <418F3B19.9000708@opencloud.com>
  References: <20041006181653.4fc83924@kingfisher.intern.logi-track.com> <41645F7A.2040106@opencloud.com> <20041007104603.78af41f3@kingfisher.intern.logi-track.com> <416B63BF.4090304@opencloud.com> <Pine.BSO.4.56.0410190144280.28027@leary.csoft.net> <417588E7.7020205@opencloud.com> <20041103122816.1c6ab2de@kingfisher.intern.logi-track.com> <418939E6.7030602@opencloud.com> <20041104113056.5a906179@kingfisher.intern.logi-track.com> <Pine.BSO.4.56.0411080331420.11414@leary.csoft.net> <418F3340.306@opencloud.com> <Pine.BSO.4.56.0411080400340.11414@leary.csoft.net> <418F3B19.9000708@opencloud.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