RE: Request for 7.0 JDBC status

Поиск
Список
Период
Сортировка
От Peter Mount
Тема RE: Request for 7.0 JDBC status
Дата
Msg-id 1B3D5E532D18D311861A00600865478C70C538@exchange1.nt.maidstone.gov.uk
обсуждение исходный текст
Список 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@kraut.bc.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@kraut.bc.ca    (http://www.kraut.bc.ca)
work:     joachim@mercury.bc.ca  (http://www.mercury.bc.ca)



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Peter Mount
Дата:
Сообщение: RE: [HACKERS] Request for 7.0 JDBC status
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: How do I select nth row from a table