On Sat, 21 Feb 2004 14:21:55 +0100 Armin Waibel <[EMAIL PROTECTED]> wrote:
> > The behaviour should be independend of any cache, i.e. an application
> should always behave the same whether there is a cache or not and whatever
> cache implementation is used.
> >
> > Unfortunately this is not the case. Are there any chances to have
> this changed? I am willing to invest some effort if the committers
> regard this as a reasonable development target.
> >
>
> This is one main topic for OJB 1.1 version. Currently OJB use the
> ObjectCache to resolve circular references. In 1.1 we will introduce and
> new internal level that will resolve this independed from the used
> ObjectCache.
Hi Armin,
this is good news! However, I need something working the next days that supports
circular references and lets modifications of persistent objects to be ignored if
these objects are not locked in a ODMG transaction.
Do you have an idea to do this right? Presently I am thinking about copying a whole
graph of persistent objects to an equivalent graph of non-persistent ones. The latter
I can modify at will without consequences to the database or to the cache. However, if
I decide to persist them I have a) to delete the object tree from the DB (and from the
cache) and b) make my non-persistent tree persistent. This is one big hack with all
sorts of pitfalls and I'd like to know if there's a better approach.
Best regard
Rainer Klute
Rainer Klute IT-Consulting GmbH
Dipl.-Inform.
Rainer Klute E-Mail: [EMAIL PROTECTED]
K�rner Grund 24 Telefon: +49 172 2324824
D-44143 Dortmund Telefax: +49 231 5349423
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]