X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 793813A3FE3 for ; Mon, 8 Nov 2004 08:48:10 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83829-01 for ; Mon, 8 Nov 2004 08:48:04 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 94BCA3A3FD7 for ; Mon, 8 Nov 2004 08:48:05 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CR5Bl-00054b-00; Mon, 08 Nov 2004 21:47:49 +1300 Message-ID: <418F3340.306@opencloud.com> Date: Mon, 08 Nov 2004 21:50:08 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (X11/20041021) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: Markus Schaber , pgsql-jdbc@postgresql.org Subject: Re: Avoiding explicit addDataType calls for PostGIS References: <20041006181653.4fc83924@kingfisher.intern.logi-track.com> <41645F7A.2040106@opencloud.com> <20041007104603.78af41f3@kingfisher.intern.logi-track.com> <416B63BF.4090304@opencloud.com> <417588E7.7020205@opencloud.com> <20041103122816.1c6ab2de@kingfisher.intern.logi-track.com> <418939E6.7030602@opencloud.com> <20041104113056.5a906179@kingfisher.intern.logi-track.com> In-Reply-To: X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/70 X-Sequence-Number: 11492 Kris Jurka wrote: > >>[use a property file to configure datatypes] > > Looking at this patch again, I don't believe the JDBC driver should use > this extension mechanism to configure itself. The whole concept is error > prone with multiple .properties files, I don't see multiple properties files with overlapping settings being a common use case for exactly that reason. > so why should we start things off > by creating a properties file when we don't need to. The configuration information is bulky, so cramming it into the URL doesn't seem ideal. It's also cleaner from a packaging perspective: you don't need to poke application-specific internal configuration information into a user-visible or user-configured URL. -O