Info about driver

Lists: pgsql-jdbc
From: Claudio Santi <claudio(dot)santi(at)irpe(dot)it>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Info about driver
Date: 2005-04-28 12:38:34
Message-ID: 9d5027303ef6a0445bfee2c9c3b9e9cb@irpe.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

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


From: Kris Jurka <books(at)ejurka(dot)com>
To: Claudio Santi <claudio(dot)santi(at)irpe(dot)it>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Info about driver
Date: 2005-04-28 13:22:14
Message-ID: Pine.BSO.4.56.0504280820480.30994@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

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


From: Roland Walter <rwa(at)mosaic-ag(dot)com>
To: Claudio Santi <claudio(dot)santi(at)irpe(dot)it>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Info about driver
Date: 2005-04-28 13:27:49
Message-ID: 4270E4D5.3080508@mosaic-ag.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

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