Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)


pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group