Correct, but: 1. the cache is garbage-collectable, thus objects might get removed 2. the cache can be cleared completely by PB.clearCache() 3. an persistent instant can be removed from the cache by PB.removeFromCache() 4. In a distributed environment a remomte server might call PB.invalidate(instance) and thus remove the instance from all other caches in the cluster.
cheers, Thomas > -----Urspr�ngliche Nachricht----- > Von: Frank Renaers [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 10. September 2002 08:58 > An: 'OJB Users List' > Betreff: RE: Caching question > > > Hi, > > The object will be loaded from the cache. > So it will exact the same. > > Greetings, > > Frank > > -----Original Message----- > From: David Corbin [mailto:[EMAIL PROTECTED]] > Sent: maandag 9 september 2002 20:55 > To: OJB Users List > Subject: Caching question > > > I believe I have the default caching implementation active. > If I create > and object, and write it out, and then load the object by refering to > it's OID, should I get the EXACT same Java object, or a new > object with > the same data values? > > Thanks > David > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
