Hello, Yes it's possible to have a different cache strategy for every class. You can find an example at:
http://db.apache.org/ojb/api/org/apache/ojb/broker/cache/CacheFilterClassImpl.html This cache filter allows you to either cache or not a certain class pending the specified an attribute in the class-descriptor mapping. Similarly you can implement your own cache filter with a custom strategy. Hope this helps, Luis (M) On Thu, 2003-09-04 at 12:00, Sebastien Cesbron wrote: > 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]
