From: Kris Jurka <books@ejurka.com>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Version information inside the driver's jar file
Date: Tue, 8 Dec 2009 04:08:21 -0500 (EST)
Message-ID: <alpine.BSO.2.00.0912080407320.29250@leary.csoft.net> (raw)
In-Reply-To: <hfl4cd$58q$1@ger.gmane.org>
References: <hfl4cd$58q$1@ger.gmane.org>
On Tue, 8 Dec 2009, Thomas Kellerer wrote:
> if the driver's jar file has been renamed, the only way to find out the
> driver's version is to actually make a connection using that driver.
> I would like to suggest to add an entry to the manifest file that shows the
> driver's version so that it is easier to find that out (e.g. when a .jar file
> gets bundled within an application)
kjurka@brain:~/pg/jdbc$ java -classpath postgresql-8.4-701.jdbc3.jar
org.postgresql.util.PSQLDriverVersion
PostgreSQL 8.4 JDBC3 (build 701)
Found in:
jar:file:/home/kjurka/pg/jdbc/postgresql-8.4-701.jdbc3.jar!/org/postgresql/Driver.class
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, spam_eater@gmx.net
Subject: Re: Version information inside the driver's jar file
In-Reply-To: <alpine.BSO.2.00.0912080407320.29250@leary.csoft.net>
References: <hfl4cd$58q$1@ger.gmane.org> <alpine.BSO.2.00.0912080407320.29250@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox