Обсуждение: Info about driver

Поиск
Список
Период
Сортировка

Info about driver

От
Claudio Santi
Дата:
All version 8 of the driver JDBC
(<fontfamily><param>Lucida Grande</param>postgresql-8.0-310.jdbc3.jar,
postgresql-8.0-311.jdbc2.jar, postgresql-8.1dev-400.jdbc2.jar ...)
</fontfamily>return the same information with getDriverVersion():

"PostgreSQL 7.3.3 JDBC3 jdbc driver build 110".


This is an error or a problem?


TIA

Claudio Santi
All version 8 of the driver JDBC (postgresql-8.0-310.jdbc3.jar,
postgresql-8.0-311.jdbc2.jar, postgresql-8.1dev-400.jdbc2.jar ...)
return the same information with getDriverVersion():
"PostgreSQL 7.3.3 JDBC3 jdbc driver build 110".

This is an error or a problem?

TIA
Claudio Santi

Re: Info about driver

От
Kris Jurka
Дата:

On Thu, 28 Apr 2005, Claudio Santi wrote:

> All version 8 of the driver JDBC (postgresql-8.0-310.jdbc3.jar,
> postgresql-8.0-311.jdbc2.jar, postgresql-8.1dev-400.jdbc2.jar ...)
> return the same information with getDriverVersion():
> "PostgreSQL 7.3.3 JDBC3 jdbc driver build 110".
>

You apparently have an old driver version somewhere in your classpath or
java environment.  If you really have an 8.0 or greater version available
as well, try "java org.postgresql.util.PSQLDriverVersion" this will tell
you where it has found the driver it has loaded.

Kris Jurka

Re: Info about driver

От
Roland Walter
Дата:
Claudio Santi schrieb:
> All version 8 of the driver JDBC (postgresql-8.0-310.jdbc3.jar,
> postgresql-8.0-311.jdbc2.jar, postgresql-8.1dev-400.jdbc2.jar ...)
> return the same information with getDriverVersion():
> "PostgreSQL 7.3.3 JDBC3 jdbc driver build 110".
>
> This is an error or a problem?

I assume, you have an old JDBC-driver in your classpath.

I see the correct driver version:

"PostgreSQL 8.0 JDBC3 with SSL (build 311)"

regards, Roland.
--
Roland Walter
MOSAIC SOFTWARE AG
Telefon: 02225/882-411 Fax: 02225/882-201
http://www.mosaic-ag.com