Re: [bdbxml] transactional memory container?

George Feinberg <[email protected]>
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
On Jun 17, 2005, at 2:51 PM, [email protected] wrote:

> I know I can use a in memory container and I use it a lot, but is  
> there a
> way to make it transactional?

Yes, but I don't see the point.  Just use the same flags as you
would to make a named container transaction.  Passing
DBXML_TRANSACTIONAL to the XmlManager::createContainer()
call will do, as long as you've initialized transactions, logging,
and locking in your DbEnv object.

I guess one reason I can see doing this is if you want to provide
database-level synchronization among threads in your
process.

Regards,

George



------------------------------------------
To remove yourself from this list, send an
email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.