[Persistence-sig] A simple Observation API

Phillip J. Eby pje@telecommunity.com
Wed, 31 Jul 2002 15:55:40 -0400


At 03:46 PM 7/31/02 -0400, Jim Fulton wrote:
>
>I realize that this issue seems to be resolved by eliminating write throughs,
>but I want to make sure I understand something here. I would have assumed
that
>all changes to persistent objects would occur before commit, and thus before
>any prepares are done. You seem to be assuming that persistent objects could
>change after the application has issued a commit. Is that right? Is the
reason
>that the prepare logic of some data managers do their work by manipulating
>persistent objects in other data managers?

Right.  One of my examples was data manager "A" saving its objects by
writing them to an XML DOM.  That DOM in turn might be a set of persistent
objects, managed by data manager "B", which saves them by writing the
entire XML document into a field of a relational database.