Re: Pb with Spring & Metadat - Mailing list pgsql-jdbc

From Markus Schaber
Subject Re: Pb with Spring & Metadat
Date
Msg-id 43F09D79.9010500@logix-tt.com
Whole thread Raw
In response to Re: Pb with Spring & Metadat  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Markus Schaber
Date:
Subject: Re: Pb with Spring & Metadat
Next
From: Radek Jíra
Date:
Subject: An I/O error occured while sending to the backend