public void setQueryTimeoutMs ( long millis ) throws SQLException { checkClosed ( ) ; if ( millis < 0 ) { throw new PSQLException ( GT . tr ( "Query timeout must be a value greater than or equals to 0." ) , PSQLState . INVALID_PARAMETER_VALUE ) ; } timeout = millis ; }
Sets the queryTimeout limit .