You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Matthew Baird <Ma...@motiva.com> on 2002/12/02 02:19:22 UTC
RE: circular references and cache
you are absolutely correct. I've been meaning to fix this for a long time, but haven't had the time.
-----Original Message-----
From: J. Russell Smyth [mailto:drfish@cox.net]
Sent: Sun 12/1/2002 5:20 PM
To: OJB Users List
Cc:
Subject: circular references and cache
It appears from some experiments that I have been doing that using
circular references, at least with the ODMG api (that is what I am
working with right now) requires an object cache - can someone who is
more intimate with OJB confirm this?
I belive this is so a when I set
ObjectCacheClass=org.apache.ojb.broker.cache.ObjectCacheEmptyImpl
I get an endless loop, digging down through referred objects.
If it is so, I would belive this should be a FAQ, as I am sure I am not
the only one who would test application functionality (not performance)
would be by turning off caching, ie setting
ObjectCacheClass=org.apache.ojb.broker.cache.ObjectCacheEmptyImpl
in OJB.properties
to eliminate cache effects from distorting correct functionality...
Thanks
Russell
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>