Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id B0FD3632D68 for ; Tue, 8 Dec 2009 04:57:22 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 37210-09 for ; Tue, 8 Dec 2009 08:57:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id EA0FD632C55 for ; Tue, 8 Dec 2009 04:57:11 -0400 (AST) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NHvsc-0002dW-CH for pgsql-jdbc@postgresql.org; Tue, 08 Dec 2009 09:57:10 +0100 Received: from 217.110.94.67 ([217.110.94.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Dec 2009 09:57:10 +0100 Received: from spam_eater by 217.110.94.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Dec 2009 09:57:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Version information inside the driver's jar file Date: Tue, 08 Dec 2009 09:56:45 +0100 Lines: 17 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.110.94.67 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.933 tagged_above=-10 required=5 tests=AWL=-0.394, BAYES_20=-0.74, RCVD_NUMERIC_HELO=2.067 X-Spam-Level: X-Archive-Number: 200912/5 X-Sequence-Number: 20086 Hi, 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) Something like: Implementation-Title: PostgreSQL JDBC4 Driver Implementation-URL: http://jdbc.postgresql.org Implementation-Version: 8.4-701 What do you think of that? Regards Thomas