[postgis-devel] jdbc2

strk at refractions.net strk at refractions.net
Mon Feb 14 04:01:26 PST 2005


I've tested default make rule, all tests ok (unknown postgresql .jar though).
BTW, how about the CLASSPATH patch Alex submitted ?
Shouldn't CLASSPATH include the .jar from PGSQL_SRC ?
--strk;

On Mon, Feb 14, 2005 at 12:45:08PM +0100, Markus Schaber wrote:
> Hi, Alex,
> 
> I just committed a reworked DriverWrapper implementation, together with
> some stub code and doc/makefile changes. This completely removes the
> need for patching and also eliminates the version incompatibility for
> binaries.
> 
> The code now compiles against any of the following versions (tested by me):
> pg72jdbc2.jar
> pg73jdbc3.jar
> pg73jdbc2.jar
> pg74.214.jdbc3.jar
> postgresql-8.0.309.jdbc3.jar
> 
> All those compilations produce a functionally identical jar that works
> fine against any of the above drivers, as well as jdbc7.1-1.2.jar.
> 
> The trick is to compile against my own stub classes that are not packed
> into the jar, and use some dynamic class loading at runtime. Minor
> quirk: The runtime compatibility against the 7.1 jar as well as the
> TestServer class depend on the JVM to support late binding.
> 
> Please tell me whether this fixes all your issues with free JVMs.
> 
> Thanks,
> Markus
> --
> markus schaber | dipl. informatiker
> logi-track ag | rennweg 14-16 | ch 8001 zürich
> phone +41-43-888 62 52 | fax +41-43-888 62 53
> mailto:schabios at logi-track.com | www.logi-track.com



> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel




More information about the postgis-devel mailing list