[#6783] Add explicit unit of time specification to Query.queryTimeout()

This commit is contained in:
lukaseder 2017-11-06 10:24:35 +01:00
parent 12fd2b47b7
commit 3139bb309f

View File

@ -289,11 +289,12 @@ public interface Query extends QueryPart, Attachable , AutoCloseable {
// ------------------------------------------------------------------------
/**
* Specify the query timeout for the underlying JDBC {@link Statement}.
* Specify the query timeout in number of seconds for the underlying JDBC
* {@link Statement}.
*
* @see Statement#setQueryTimeout(int)
*/
Query queryTimeout(int timeout);
Query queryTimeout(int seconds);
/**
* Keep the query's underlying statement open after execution.