setQueryTimeout - Mailing list pgsql-jdbc

From Toni Urpí
Subject setQueryTimeout
Date
Msg-id 478B7448.9040802@lsi.upc.edu
Whole thread Raw
Responses Re: setQueryTimeout  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hi,

  Does every know if the  method |void setQueryTimeout||(int seconds)|
of Statement is implemented in the Postgres JDBC driver?

The driver seems to recognize it since with a -1 value I obtain an
SQLException stating that "Query timeout must be a value greater than or
equals to 0". However,  with a positive number -says 1 second- and a
query that last more that 1 second, no SQLException is produced.

thank you

toni



pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: unnecessary exception patch
Next
From: Kris Jurka
Date:
Subject: Re: setQueryTimeout