• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query Timeout

 
Satish Gopalakrishnan
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a question regarding the query timeout. If i am not setting the timeout for a query explicitly using the setQueryTimeout() method, what is the default number of seconds it waits before it times-out .
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Satish Gopalakrishnan:
This is a question regarding the query timeout. If i am not setting the timeout for a query explicitly using the setQueryTimeout() method, what is the default number of seconds it waits before it times-out .

you'll have to check yourself because different implementations may have different default values. You can use the Statement.getQueryTimeout() method to find out ( NOTE --> a value of zero means unlimited ).
Jamie
[ August 26, 2002: Message edited by: Jamie Robertson ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic