Statement.setQueryTimeout
Interface Overview | Interface Members | 
  This Package | 
All Packages
 public abstract void setQueryTimeout( int seconds ) throws SQLException
Parameters
-  seconds 
-  the new query timeout limit in seconds; zero means unlimited
    
Description
 The queryTimeout limit is the number of seconds the driver will
 wait for a Statement to execute. If the limit is exceeded, a
 SQLException is thrown.
  
Exceptions
 SQLException
     if a database-access error occurs.