Thread: setQueryTimeout
View Single Post

   
  #1 (permalink)  
Old 04-16-2008, 12:59 AM
=?ISO-8859-1?Q?Toni_Urp=ED?=
 
Posts: n/a
Default setQueryTimeout

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



---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Reply With Quote