Skip site navigation (1) Skip section navigation (2)

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

From: jonathan(dot)lister(at)vaisala(dot)com
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Please could we have support for isValid() method in JDBC driver?
Date: 2012-04-24 12:24:01
Message-ID: D3081BDF8E6A5D40A4E82155E83C865E087BC211@birdx1.corp.vaisala.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
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?

Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2012-04-24 13:30:51
Subject: Re: Please could we have support for isValid() method in JDBC driver?
Previous:From: Dave CramerDate: 2012-04-24 09:37:37
Subject: Re: Cannot pass null in Parameter in Query for ISNULL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group