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

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Please could we have support for isValid() method in JDBC driver?
Дата
Msg-id CADK3HHKLg-wkPe6m3LPVQ+42K1=dHUeCz+NL0E4HAv+0k68H3g@mail.gmail.com
обсуждение исходный текст
Ответ на Please could we have support for isValid() method in JDBC driver?  (jonathan.lister@vaisala.com)
Список 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 по дате отправления:

Предыдущее
От: jonathan.lister@vaisala.com
Дата:
Сообщение: Please could we have support for isValid() method in JDBC driver?
Следующее
От: Bernard
Дата:
Сообщение: Re: Cannot pass null in Parameter in Query for ISNULL