[OJB-developers] RE:Nocache (Bug in MetaCache)
Brought to you by:
thma
From: Bischof, R. <rai...@ed...> - 2002-03-04 08:06:23
|
Hi, you don't need the Nocache class to do that. Simply use MetaObjectCacheImpl.setClassCache(YOUR_CLASS_TO_CACHE, null) to tell the MetaCache not to cache any instances of this class and subclasses. But: In the current release there is a bug in MetaObjectCacheImpl.clear() which causes NullpointerExceptions when this feature is used... The bug is fixed in the attached version. cu Rainer Bischof -----Original Message----- From: syl...@be... [mailto:syl...@be...] Sent: Sonntag, 3. Marz 2002 11:40 To: obj...@li... Cc: tho...@ho... Subject: [OJB-developers] Nocache Hi, When I use Ojb with a database that can be modified by other programs I don't want some object to be read from the cache but I want Ojb to refetch them every time. I just wrote a small Nocache class that when used with the Metacache should do just that. Best regards Bertrand _______________________________________________ Objectbridge-developers mailing list Obj...@li... https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |