XmlManager::truncateContainer API Ref

#include <DbXml.hpp>

void XmlManager::truncateContainer( const std::string &name, XmlUpdateContext &context)

void XmlManager::truncateContainer( XmlTransaction &txn, const std::string &name, XmlUpdateContext &context)

void XmlManager::truncateContainer( const std::string &name, XmlUpdateContext &context, const XmlContainerConfig &flags)

void XmlManager::truncateContainer( XmlTransaction &txn, const std::string &name, XmlUpdateContext &context, const XmlContainerConfig &flags)


Description: XmlManager::truncateContainer

Truncates all of the databases in the container using Db::truncate.

The container must be closed; the system throws an exception if the container is open.

Parameters
txn name context flags

Errors

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


CONTAINER_OPEN

DATABASE_ERROR

APIRef

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