XmlQueryContext::setQueryTimeoutSeconds

API Ref

#include <DbXml.hpp>

void XmlQueryContext::setQueryTimeoutSeconds(unsigned int seconds);

unsigned int XmlQueryContext::getQueryTimeoutSeconds() const;


Description: XmlQueryContext::setQueryTimeoutSeconds

The query timeout that will cause a query using this XmlQueryContext to terminate if the query time exceeds the timeout value. The execution of the query will throw an XmlException with the ExceptionCode XmlException::OPERATION_TIMEOUT if the timeout occurs.

Parameters

seconds
The timeout, in seconds.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.