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: PostGreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Avoiding explicit addDataType calls for PostGIS
Date: Thu, 07 Oct 2004 23:31:25 +1300
Message-ID: <41651AFD.5030408@opencloud.com> (raw)
In-Reply-To: <20041007105427.2a559360@kingfisher.intern.logi-track.com>
References: <20041006181653.4fc83924@kingfisher.intern.logi-track.com>
	<Pine.BSO.4.56.0410061127450.5501@leary.csoft.net>
	<20041007105427.2a559360@kingfisher.intern.logi-track.com>

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



view thread (21+ messages)  latest in thread

Message-ID: <41651AFD.5030408@opencloud.com>
Permalink:  ../41651AFD.5030408@opencloud.com/
Also on:    postgresql.org/message-id/41651AFD.5030408@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
  Subject: Re: Avoiding explicit addDataType calls for PostGIS
  In-Reply-To: <41651AFD.5030408@opencloud.com>
  References: <20041006181653.4fc83924@kingfisher.intern.logi-track.com> <Pine.BSO.4.56.0410061127450.5501@leary.csoft.net> <20041007105427.2a559360@kingfisher.intern.logi-track.com> <41651AFD.5030408@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