On Mon, 30 Nov 1998, Herouth Maoz wrote:
> At 17:15 +0200 on 30/11/98, Peter T Mount wrote:
>
>
> > Anyhow, I was thinking of adding code so when it creates a connection, it
> > creates postgresql.Connection when it's 1.1.x, and
> > postgresql.v2.Connection for 1.2.x
> >
> > This does open a possibility of having both drivers in the same jar file,
> > however, it would have to be built using both 1.2 then 1.1 javacs, then
> > build the jar file.
> >
> > In theory it should work, but we will have to wait until 1.2 final is out,
> > before trying it.
>
> Yes. That's what I meant.
>
> Another possibility is to provide the driver in binary format. After all,
> Java binaries are the same on all platforms.
I do on my web site, covering different versions of postgresql. However,
someone tried a 1.1 binary on a 1.2 JVM, and it complained. It's more
strict on the class validation.
--
Peter Mount, IT Section
petermount@it.maidstone.gov.uk
Anything I write here are my own views, and cannot be taken as being the
official words of Maidstone Borough Council