db-ojb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weaver, Scott" <Swea...@rippe.com>
Subject RE: Cache only certain classes
Date Wed, 02 Jul 2003 20:16:18 GMT
Try  using this cache instead of the default one:

org.apache.ojb.broker.cache.MetaObjectCachePerClassImpl

It allows you to set a class's cache to "null" effectively preventing instance caching of
that specific type.

hth,
*===================================*
* Scott T Weaver                    *
* Jakarta Jetspeed Portal Project   *
* weaver@apache.org                 *
*===================================*
  


> -----Original Message-----
> From: Chris Widhelm [mailto:cwidhelm@contego.net]
> Sent: Wednesday, July 02, 2003 3:47 PM
> To: OJB Users List
> Subject: Cache only certain classes
> 
> I have a set of tables that are read-only.  There is another application
> that is modifying the tables.
> 
> I am running into problems concerning the cache.  Is there anyway that I
> can turn caching off for certain classes.
> 
> Thanks,
> 
> Chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message