pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: akshunj <rickjackson001@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: how to get JDBC driver version from command line
Date: Thu, 2 Apr 2015 09:26:34 -0700 (MST)
Message-ID: <1427991994768-5844478.post@n5.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Hi,

Is there a way to get the JDBC driver version from the command line? I'd
like to make the name generic for various administrative reasons. 

I suspect this could be done using something along the lines of:

java -cp ./postgresql.jdbc4.jar org.postgresql.Driver -version

I'm not fluent in Java, so I would appreciate any help. 

Thanks.



--
View this message in context: http://postgresql.nabble.com/how-to-get-JDBC-driver-version-from-command-line-tp5844478.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (6+ messages)  latest in thread

Message-ID: <1427991994768-5844478.post@n5.nabble.com>
Permalink:  ../1427991994768-5844478.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1427991994768-5844478.post@n5.nabble.com

 · 

reply

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: rickjackson001@gmail.com
  Subject: Re: how to get JDBC driver version from command line
  In-Reply-To: <1427991994768-5844478.post@n5.nabble.com>
  References: <1427991994768-5844478.post@n5.nabble.com>

* 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