As I understand it OQL queries always hit the database but the objects can be resolved from the cache though. If you use the PB API for accessing objects (you can do this from ODMG) then the cache is accessed much more.
Good Luck, Rob :) -----Original Message----- From: Ronen Yaari [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 January 2004 8:27 p.m. To: OJB Users List Subject: RE: Cache Mechanism My problem is that when working with the ODMG API with cache definition I spoted that when making the same call twice it in both cases goes to the database in order to fetch the data. To ensure it: before making the second call I deleted the relveant row from the database and it did not succed to do it afterward altough it should have been in the cache. The same scenario worked smoothly with the Broker API. Am I doing something wrong ? Ronen. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 9:50 PM To: OJB Users List Subject: Re: Cache Mechanism Hi Ronen, Ronen Yaari wrote: > All, > > I noticed that the Cache Mechanism works only with the Broker API, Is > it true ? No. > I want to use the ODMG API, is it possible somehow to use the Cache Mechanism with this API ? yes! What exactly is your problem? Thomas > Thanxs, > > Ronen Yaari > Traiana Technologies > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- 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]
