public static void setQueryTimeout(Statement statement, int queryTimeout) throws SQLRuntimeException {
        try {
            statement.setQueryTimeout(queryTimeout);
        } catch (SQLException ex) {
            throw new SQLRuntimeException(ex);
        }
    }
public static void setQueryTimeout ( Statement statement , int queryTimeout ) throws SQLRuntimeException { try { statement . setQueryTimeout ( queryTimeout ) ; } catch ( SQLException ex ) { throw new SQLRuntimeException ( ex ) ; } }
@param statement
@param queryTimeout
@throws SQLRuntimeException
@see Statement#setQueryTimeout(int)