Hi Clay,

----- Original Message -----
From: "Clay Mitchell" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Sunday, August 31, 2003 3:50 PM
Subject: Re: object cache in ojb 1.0 rc4?


> Uh, actually, from my experience, objects updated via OJB, they were
NOT
> updated in the cache. It appears the starter of this thread had the
same
> issue. I had to completely turn off caching to get my updates to
appear
> on the client side...

hmm, in OJB test suite are several junit tests
using object update. Can you send me a test
case which reproduce your problem? Or can
you modify a test case of the test suite
to reproduce the problem?

regards,
Armin

>
> -Clay
>
> Armin Waibel wrote:
>
> > Think both is ok. ObjectCacheDefaultImpl is
> > a simple global cache which does not remove
> > expired objects (no decay time support for objects) or does refresh
> > periodically.
> > But if objects were changed in OJB
> > these changes reflected in cache. If objects
> > outside of OJB were changed you are doomed ;-).
> > You can easily write your own more
> > sophisticated ObjectCache implementation.
> > see
> > http://db.apache.org/ojb/objectcache.html
> > Oleg is currently refactoring the cache
> > package, so rc5 will offer much more
> > flexibility .
> >
> > regards,
> > Armin
> >
> >
> >>>BTW, I have set autoCommit="0" in repository_database.xml, I think
> >>>autoCommit is not very good in some situations?
> >>>
> >>>Thanks for your any hints and help!
> >>>
> >>>linuxman
> >>>
> >>>_________________________________________________________________
> >>>免费下载 MSN Explorer:   http://explorer.msn.com/lccn/
> >>>
> >>
>
>>---------------------------------------------------------------------
> >>
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
>
>>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to