Re: Please could we have support for isValid() method in JDBC driver?

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: jonathan(dot)lister(at)vaisala(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Please could we have support for isValid() method in JDBC driver?
Date: 2012-04-24 13:30:51
Message-ID: CADK3HHKLg-wkPe6m3LPVQ+42K1=dHUeCz+NL0E4HAv+0k68H3g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)lister(at)vaisala(dot)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?

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bernard 2012-04-24 17:39:03 Re: Cannot pass null in Parameter in Query for ISNULL
Previous Message jonathan.lister 2012-04-24 12:24:01 Please could we have support for isValid() method in JDBC driver?