Re: Please could we have support for isValid() method in JDBC driver? - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Please could we have support for isValid() method in JDBC driver?
Date
Msg-id CADK3HHKLg-wkPe6m3LPVQ+42K1=dHUeCz+NL0E4HAv+0k68H3g@mail.gmail.com
Whole thread Raw
In response to Please could we have support for isValid() method in JDBC driver?  (jonathan.lister@vaisala.com)
List pgsql-jdbc
It's actually in git. You would have to build a jar from source to get it.


Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Tue, Apr 24, 2012 at 8:24 AM,  <jonathan.lister@vaisala.com> wrote:
> There is one sample implementation posted here:
> http://archives.postgresql.org/pgsql-jdbc/2012-01/msg00001.php
>
> Is there a good reason why the pg jdbc driver currently throws “Method
> org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented?”
>
> Is there a better solution to checking if a connection is valid rather than
> using the isValid() method?

pgsql-jdbc by date:

Previous
From: jonathan.lister@vaisala.com
Date:
Subject: Please could we have support for isValid() method in JDBC driver?
Next
From: Bernard
Date:
Subject: Re: Cannot pass null in Parameter in Query for ISNULL