Statement.getQueryTimeout

Statement.getQueryTimeout

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract int getQueryTimeout() throws SQLException
Returns
the current 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.