Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > setQueryTimeout
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 1861 of 1987
Post > Topic >>

setQueryTimeout

by urpi@[EMAIL PROTECTED] (=?ISO-8859-1?Q?Toni_Urp=ED?=) Jan 14, 2008 at 03:40 PM

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 sup****t the PostgreSQL project by donating at

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




 6 Posts in Topic:
setQueryTimeout
urpi@[EMAIL PROTECTED] (  2008-01-14 15:40:08 
Re: setQueryTimeout
books@[EMAIL PROTECTED]   2008-01-14 11:28:45 
Re: setQueryTimeout
books@[EMAIL PROTECTED]   2008-01-14 11:45:16 
Re: setQueryTimeout
books@[EMAIL PROTECTED]   2008-01-14 22:30:39 
Re: setQueryTimeout
gc@[EMAIL PROTECTED] (Gu  2008-01-14 17:34:53 
Re: setQueryTimeout
gc@[EMAIL PROTECTED] (Gu  2008-01-14 17:56:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Wed Jul 9 0:06:15 CDT 2008.