[postgis-devel] JDBC updates
strk at refractions.net
strk at refractions.net
Tue Jan 18 06:24:51 PST 2005
On Tue, Jan 18, 2005 at 03:21:17PM +0100, Markus Schaber wrote:
> Hi, strk,
>
> strk at refractions.net schrieb:
> > Warnings got trying to compile jtest:
> >
> [...]
> > postgresql jdbc driver is 8.0.309 JDBC 3
>
> Thanks.
>
> This is a known issue. The 8.0 drivers deprecated this methods, and
> provide new methods. (See my DriverWrapper.addGISTypes method and the
> comment at the beginning of DriverWrapper.java). The reason for this are
> some issues with Class Loaders in Application servers.
>
> When using the new methods, the code will not compile nor work with any
> postgresql.jar before 8.0 prereleases.
>
> There are some legacy applications outside that rely on having 7.4 or
> 7.3 postgrsql.jar because the 8.0 driver combined with V3.0 protocol
> servers (psql 7.4 or newer) uses stricter type checks. Those checks are
> JDBC compliant, the fault is on the app side.
>
> Do we want to force the users to use pgjdbc-8.0 or not?
I don't think so, we support up to postgresql 7.2 !
Isn't a preprocessor available ? Or can we use CPP for .java code
to include USE_VERSION switched blocks ? USE_VERSION is defined
including ../Makefile.config
I think we can/should assume consistency between pgjdbc and PGSRC versions.
--strk;
>
> Thanks,
> Markus
>
--
For standing up against patentability of software,
Thank You, Poland!
Read the intervention: http://kwiki.ffii.org/ConsPolon041221En
Send your thanks: thankyoupoland.info
Read/do more: http://www.noepatents.org/
More information about the postgis-devel
mailing list