X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id DC5C59DCC7F for ; Tue, 14 Feb 2006 04:44:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58431-05 for ; Tue, 14 Feb 2006 04:44:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (serval.logix-tt.com [213.239.221.42]) by postgresql.org (Postfix) with ESMTP id C2CB29DC823 for ; Tue, 14 Feb 2006 04:43:59 -0400 (AST) Received: from kingfisher.intern.logix-tt.com (walfisch.in-ulm.de [217.10.3.203]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id E4A21244080; Tue, 14 Feb 2006 09:43:59 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 54C90181C2140; Mon, 13 Feb 2006 15:53:46 +0100 (CET) Message-ID: <43F09D79.9010500@logix-tt.com> Date: Mon, 13 Feb 2006 15:53:45 +0100 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Pb with Spring & Metadat References: <43EB7D89.4050406@free.fr> <43EC423A.1050101@free.fr> <43F06526.5050406@free.fr> <43F070C2.4090505@logix-tt.com> In-Reply-To: X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.441 required=5 tests=[AWL=0.441] X-Spam-Score: 0.441 X-Spam-Level: X-Archive-Number: 200602/98 X-Sequence-Number: 14695 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