In real, I'm not an specialist in caches ;), but I've used with success <object-cache ..> tag inside class-descriptor, no elsewhere.
I think I've read somewhere that is possible to configure the object-cache for the connection (or the alias), but I never reade more, and now I'm not sure. Give a try to DTD doc. Is the first place I look when in doubt. Best regards, Edson Richter > Thanks for your quick answer, I cheched the OJB.properties file an "I" > was using DefaultCacheImpl I change it to ObjectCacheEmptyImpl and now > it is working as I was expecting. > > Now just to learn the reasons for the previous behaviour: > > A comment in OJB.properties: > # The ObjectCacheClass entry tells OJB which concrete ObjectCache > # implementation is to be used as standard cache. > # Its also possible to override this entry adding object-cache > elements > # on jdbc-connection-descriptor level and > # per class-descriptor in repository file > > In my repository_internal.xml I have the following line: > > <object-cache class="org.apache.ojb.broker.cache.ObjectCacheEmptyImpl"> > </object-cache> > > Why it wasn't working as I was expecting? > Where is the documentation about the config parameters for the cache > implementations? > > Thanks for your help, > > K. > > > [EMAIL PROTECTED] wrote: > >>Are you working with DefaultCacheImpl or EmptyCacheImpl? >>If you are working with DefaultCacheImpl, take a look at config parameters. >>Otherwise, are there any exceptions (stack trace), messages (they can be very >>usefull if >> you >>enable higher level of logging as DEBUG). >> >>Best regards, >> >>Edson Richter >> >> >> >> > > > > --------------------------------------------------------------------- > 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]