Re: OJB cache :: Best Practise

2005-05-19 Thread Armin Waibel
Hi Nils, Nils Liebelt wrote: Hi all, Having some trouble with the OJB caching. I use the default implementation which should give a global cache for all Brokers. My Business objects have a store() method that inserts/updates this object towards the db and removes this object from the cache wit

Re: OJB cache :: Best Practise

2005-05-18 Thread Martin Kalén
Nils Liebelt wrote: Having some trouble with the OJB caching. I use the default implementation which should give a global cache for all Brokers. My Business objects have a store() method that inserts/updates this object towards the db and removes this object from the cache with the removeFromCach

RE: OJB cache

2005-05-09 Thread Clute, Andrew
> > Hi, > > 1) I need to completly clear the cache. How can I clear OJB > cache without restarting Tomcat? pb.clearCache() (PersistenceBroker) > > 2) Is there any way to control maximum cache size? None of the current cache implementation's have any size parameters. However, I assume

Re: OJB Cache and materialization.

2004-10-04 Thread Armin Waibel
le poking around. I think the InternalCache#clear() method should call localClear() instead of localCache.clear(). Thanks much. Paul -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 2:46 PM To: OJB Users List Subject: Re: OJB Cache and mater

RE: OJB Cache and materialization.

2004-09-30 Thread Nase, Paul R.
Thanks much. Paul -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 2:46 PM To: OJB Users List Subject: Re: OJB Cache and materialization. Hi Paul, you are right, the finally-block isn't a good idea. It should be safe to remove these bloc

Re: OJB Cache and materialization.

2004-09-30 Thread Armin Waibel
September 30, 2004 9:15 AM To: OJB Users List Subject: Re: OJB Cache and materialization. Hi Paul, it's fixed in CVS branch "OJB_1_0_RELEASE". >> We are currently using OJB RC5 and are not in a position to move to >> 1.0.1 yet, Think you are using rc6, because the "

RE: OJB Cache and materialization.

2004-09-30 Thread Nase, Paul R.
che to false in the catch block? Of course, you'd have to provide a setter method other than disableMaterializationCache() to turn off the enabledReadCache flag. Paul -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 9:15 AM To: OJB Use

Re: OJB Cache and materialization.

2004-09-30 Thread Armin Waibel
Hi Paul, it's fixed in CVS branch "OJB_1_0_RELEASE". >> We are currently using OJB RC5 and are not in a position to move to >> 1.0.1 yet, Think you are using rc6, because the "materialization buffer" (InternalCache class) was introduced after rc5 - AFAIK It shouldn't be a problem to adapt the pat

Re: OJB Cache and materialization.

2004-09-28 Thread Armin Waibel
Hi Paul, I will have a look at this. Stay tuned! regards, Armin Nase, Paul R. wrote: Hi, We are encountering a problem with our cache materializing half-baked objects when under a heavy multi-user load. We are currently using OJB RC5 and are not in a position to move to 1.0.1 yet, although in the f