Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Controlling Time Out

 
Wagner Danda
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
does anybody know how to set a 'time out' for an execution of a query?
My situation: I�m using Oracle Thin Driver, with no connection pool.
I need something like the ConnectionReaper class that I found at: http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html
Thanks in advance.
[ February 18, 2002: Message edited by: Wagner Danda ]
[ February 18, 2002: Message edited by: Wagner Danda ]
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Statement.setQueryTimeout(int)
Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic