pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Pb with Spring & Metadat
Date: Mon, 13 Feb 2006 15:53:45 +0100
Message-ID: <43F09D79.9010500@logix-tt.com> (raw)
In-Reply-To: <Pine.BSO.4.63.0602130945250.23516@leary.csoft.net>
References: <43EB7D89.4050406@free.fr>
	<Pine.BSO.4.61.0602091330410.27328@leary.csoft.net>
	<43EC423A.1050101@free.fr>
	<Pine.BSO.4.61.0602100239120.367@leary.csoft.net>
	<43F06526.5050406@free.fr>
	<43F070C2.4090505@logix-tt.com>
	<Pine.BSO.4.63.0602130945250.23516@leary.csoft.net>

Hi, Kris,

Kris Jurka wrote:

>> TNO wrote:
>>
>>> My Eclipse classpath show me 8.1 driver...
>>
>>
>>            System.err.println(org.postgresql.Driver.getVersion());
> 
> 
> or better yet,
> 
> System.err.println(org.postgresql.util.PSQLDriverVersion.main());
> 
> This will print out where it has found the driver as well as what
> version it has found.

Oh, great tool. However, it does not work this way. You have to call
  org.postgresql.util.PSQLDriverVersion.main(args)
with args being a String array, and don't wrap it into
System.err.println, as it returns void.

HTH,
Markus


-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



view thread (12+ messages)  latest in thread

Message-ID: <43F09D79.9010500@logix-tt.com>
Permalink:  ../43F09D79.9010500@logix-tt.com/
Also on:    postgresql.org/message-id/43F09D79.9010500@logix-tt.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: schabi@logix-tt.com
  Subject: Re: Pb with Spring & Metadat
  In-Reply-To: <43F09D79.9010500@logix-tt.com>
  References: <43EB7D89.4050406@free.fr> <Pine.BSO.4.61.0602091330410.27328@leary.csoft.net> <43EC423A.1050101@free.fr> <Pine.BSO.4.61.0602100239120.367@leary.csoft.net> <43F06526.5050406@free.fr> <43F070C2.4090505@logix-tt.com> <Pine.BSO.4.63.0602130945250.23516@leary.csoft.net> <43F09D79.9010500@logix-tt.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