pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Markus Schaber <schabios@logi-track.com>
Cc: pgsql-jdbc@postgresql.org
Cc: Kris Jurka <books@ejurka.com>
Subject: Re: Avoiding explicit addDataType calls for PostGIS
Date: Thu, 04 Nov 2004 09:04:54 +1300
Message-ID: <418939E6.7030602@opencloud.com> (raw)
In-Reply-To: <20041103122816.1c6ab2de@kingfisher.intern.logi-track.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>

Markus Schaber wrote:

>>Perhaps an array-based accessor, one element per datatype?
> 
> Or a Map, so we can index via name.

This doesn't play so well with JavaBeans. It has mechanisms for handling 
array-based accessors, but a Map is just a serializable object..

>>Alternatively, collapse all the datatype stuff down to a single property 
>>and teach the property-munging code how to merge (rather than replace) 
>>multiple settings of that property together. (this second option is more 
>>like what JNDI property files do)
> 
> This sounds cleaner, IMHO. This would produce (and allow) to specify
> something like datatypes=geom:org.postgis.PGgeometry,blubb=com.foo.bar
> 
> Should I try to change the patch this way?

If you have time that'd be appreciated. I'm short on time and recovering 
from illness right now :(

-O



view thread (21+ messages)  latest in thread

Message-ID: <418939E6.7030602@opencloud.com>
Permalink:  ../418939E6.7030602@opencloud.com/
Also on:    postgresql.org/message-id/418939E6.7030602@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, schabios@logi-track.com, books@ejurka.com
  Subject: Re: Avoiding explicit addDataType calls for PostGIS
  In-Reply-To: <418939E6.7030602@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>

* 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