Re: Avoiding explicit addDataType calls for PostGIS - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Avoiding explicit addDataType calls for PostGIS
Date
Msg-id 41651AFD.5030408@opencloud.com
Whole thread Raw
In response to Re: Avoiding explicit addDataType calls for PostGIS  (Markus Schaber <schabios@logi-track.com>)
Responses Re: Avoiding explicit addDataType calls for PostGIS
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Ahmed Mousaad
Date:
Subject: where is postgis.jar ?!
Next
From: "Katalina Marcos"
Date:
Subject: Re: table and column's comments