XmlContainer::replaceDefaultIndex API Ref

#include <DbXml.hpp>

void XmlContainer::replaceDefaultIndex( const std::string &uri, const std::string &name, const std::string &index, XmlUpdateContext &context)

XmlContainer::replaceDefaultIndex( XmlTransaction &txn, const std::string &uri, const std::string &name, const std::string &index, XmlUpdateContext &context)


Description: XmlContainer::replaceDefaultIndex

Replaces the container's default index. This method is for convenience -- see XmlIndexSpecification::replaceDefaultIndex for more information.

Parameters
txn index context

Errors

The XmlContainer::replaceDefaultIndex method may fail and throw XmlException, encapsulating one of the following non-zero errors:


DATABASE_ERROR

APIRef

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