Hi Sebastien, I'm currently working on the cache stuff. I will check in my changes in the next few days. Then it's possible to declare - class by class cache - per database (more detailed per jdbc-connection-descriptor) cache (used if no cache for class was declared) - a default global cache (used if no cache for class or database was declared)
With CacheFilter you can do any operation before a object was put to cache - e.g. filter out objects you don't want to cache. You can find a two sample implementations in cache package, called CacheFilterClassImpl, CacheFilterPackageImpl. CacheFilter need to be declared in OJB.properties. regards, Armin ----- Original Message ----- From: "Sebastien Cesbron" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 04, 2003 1:00 PM Subject: Class by class cache > Hi, > > I would like to specify different cache strategies for different > classes. I have some classes that are not updated frequently and I want > these classes to be cached in priority. > I am looking at Hibernate and OJB and I found that in Hibernate you can > specify a class by class cache strategy. Is it something feasible with OJB ? > In the documentation about ObjectCache there is a section on cache > filter but this section is not finished. Is CacheFilter something that > can help me specify my cache strategy ? > > Thanx > > Seb > > > --------------------------------------------------------------------- > 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]
