Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id D2EC6D84656 for ; Fri, 8 Jun 2012 08:32:33 -0300 (ADT) Received: from smtp.dc.baikal.ru ([87.103.128.133]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ScxQc-0006D4-Mu for pgsql-jdbc@postgresql.org; Fri, 08 Jun 2012 11:32:32 +0000 Received: from [10.0.4.75] (it319k5.dc-local [10.0.4.75]) (authenticated bits=0) by smtp.dc.baikal.ru (8.13.8/8.13.8) with ESMTP id q58BWEmq007954 for ; Fri, 8 Jun 2012 20:32:14 +0900 Message-ID: <4FD1E2BE.8020800@dc.baikal.ru> Date: Fri, 08 Jun 2012 20:32:14 +0900 From: Vlad Arkhipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Connection.isValid(int timeout) implementation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.0 (/) X-Archive-Number: 201206/26 X-Sequence-Number: 23020 The current PostgreSQL driver (9.1-904) does not contain an implementation of JDBC4 method Connection.isValid(int timeout). However there are some projects that strongly rely on this method to test the connection (for example Arjuna Transaction Manager that is used by JBoss Application Server). Are there any plans of implementing this feature?