[postgis-devel] jdbc2

Markus Schaber schabios at logi-track.com
Mon Feb 14 03:45:08 PST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050214/3395dc1a/attachment.sig>


More information about the postgis-devel mailing list