[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another Ozone/XML question




On Thu, 22 Mar 2001 10:47:26 +0100
Conny Krappatsch <ckrappatsch@virbus.de> wrote:

> > Has anyone used the getPDocument() method of XMLContainer. In the
> > documentation it says that it returns a "persistent" document. Does it mean
> > that if I change this "Document", (add/delete/modify node), then the
> > changes are made in the database also? 
> 
> Correct! But keep in mind that this may become very slow because each 
> operation on the persistent DOM is one database call.

This is only partly true because you can use explicite transactions to
combine several single modifications (add/delete/modify/..) to a global
transaction which is much more faster than single database calls.

--
______________________________________________________________________
Lars Martin                                    mailto:lars@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com