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 991CF32B894 for ; Thu, 7 Oct 2004 11:37:22 +0100 (BST) 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 12795-08 for ; Thu, 7 Oct 2004 10:36:40 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 2BC4132B9DA for ; Thu, 7 Oct 2004 11:33:49 +0100 (BST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CFVYb-00047X-00; Thu, 07 Oct 2004 23:31:33 +1300 Message-ID: <41651AFD.5030408@opencloud.com> Date: Thu, 07 Oct 2004 23:31:25 +1300 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Schaber Cc: PostGreSQL JDBC Subject: Re: Avoiding explicit addDataType calls for PostGIS References: <20041006181653.4fc83924@kingfisher.intern.logi-track.com> <20041007105427.2a559360@kingfisher.intern.logi-track.com> In-Reply-To: <20041007105427.2a559360@kingfisher.intern.logi-track.com> Content-Type: text/plain; charset=us-ascii; 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: 200410/38 X-Sequence-Number: 11143 Markus Schaber wrote: > Is the opposite problem possible? I think of the driver class loader be > able to reach the driver extension, but not the user code class loader. That seems unlikely; it'd only happen if you had user code that did not contain any references to the extension classes. If there are no references to the extensions, how does the user code use the returned objects? Reflection, or a common superclass shared by both classloaders, seem like the only options. It's also debatable whether the driver should even allow user code to cause loading and instantiation of classes that the user code would not otherwise be able to access.. -O