It is a problem because the ObjectCache currently is a singleton implemented as a static variable on ObjectCache which indirectly makes i a global cache for all PersistenceBrokers created in the same VM with the same ClassLoader.
And no, you are not the first one to spot the "problem" of updates of other programs than OJB (or OJB it self :) /max ----- Original Message ----- From: "abo" <[EMAIL PROTECTED]> To: "'OJB Users List'" <[EMAIL PROTECTED]> Sent: Sunday, September 22, 2002 5:23 PM Subject: Caching problem? > Hi, > > I just figured out a problem with my servlet using ojb 0.9.5 and mysql. > Every time, the servlet is called i create a persistenceBroker and do > the query. > > When i change the database with phpmyadmin and call the servlet, the > data is still unchanged. > I have to stop the servlet engine and start it again, to get the changed > data. > > But this cannot be a caching problem, because i always create a new > broker in doget!? > > Please help > Thanks! > > andreas > > > > -- > 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]>
