XmlQueryContext::setDebugListener API Ref

#include <DbXml.hpp>

void XmlQueryContext::setDebugListener(XmlDebugListener *listener);

XmlDebugListener * XmlQueryContext::getDebugListener() const;


Description: XmlQueryContext::setDebugListener

Allows the application to associate an XmlDebugListener with a query context in order to debug queries.

In order to prepare a query that contains debugging information an XmlDebugListener must be set on the XmlQueryContext used when the query is prepared. A different XmlDebugListener object (or none) can subsequently be set for query evaluation.

Parameters
listener

Description: XmlQueryContext::getDebugListener

Retrieves the XmlDebugListener associated with this XmlQueryContext, if any.


APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.