RE: Request for 7.0 JDBC status

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Joachim Achtzehnter'" <joachim(at)kraut(dot)bc(dot)ca>, PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Subject: RE: Request for 7.0 JDBC status
Date: 2000-05-02 08:07:09
Message-ID: 1B3D5E532D18D311861A00600865478C70C538@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hmmm, I removed that code in 6.5.2 because not all Java implementations
(not just Kaffe but those based on Sun's VM) didn't return a proper
version string (I've seen dates, peoples names etc).

You should see a class file called DriverVersion appear (built by the
Makefile), which simply defines a string which holds the base class file
that's loaded by Driver.

For 6.5.3 its postgresql.DriverVersion, and for 7.0 its
org.postgresql.DriverVersion

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: Joachim Achtzehnter [mailto:joachim(at)kraut(dot)bc(dot)ca]
Sent: Tuesday, May 02, 2000 5:50 AM
To: PostgreSQL-interfaces
Cc: Bruce Momjian; Thomas Lockhart
Subject: Re: [INTERFACES] Request for 7.0 JDBC status

Today, in a message to Thomas Lockhart, Bruce Momjian wrote:
>
> > > I am unable to compile the java code with kaffe. Can anyone
compile
> > > jdbc under 7.0?
>
> However, it seems kaffe can't compile self-referencing java files. I
> don't know enough about java to know that is a problem or not.

Have not tried with 7.0, but recent versions of Kaffe were definitely
able
to compile the JDBC code that came with 6.5.3, but only after modifying
the version check in the makeVersion.java file in src/interfaces/jdbc
(and
perhaps elsewhere where a versioon check occurs). The code checks for
the
java version string and rejects everything that doesn't start with
either
1.1 or 1.2. The problem was that Kaffe reports its own version, e.g.
1.02,
rather than the corresponding JDK version.

Joachim

--
private: joachim(at)kraut(dot)bc(dot)ca (http://www.kraut.bc.ca)
work: joachim(at)mercury(dot)bc(dot)ca (http://www.mercury.bc.ca)

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2000-05-02 08:11:08 RE: [HACKERS] Request for 7.0 JDBC status
Previous Message Peter Mount 2000-05-02 08:03:25 RE: [HACKERS] Request for 7.0 JDBC status