Jair da Silva Ferreira Júnior wrote:

Does anyone know how to "refresh" or "reload" an OJB cached object from the database?

If you are using the PersistenceBroker API, the method to use is: broker.removeFromCache(<object>);

See
http://db.apache.org/ojb/api/org/apache/ojb/broker/PersistenceBroker.html#removeFromCache(java.lang.Object)

(And then a new load, of course.)

--
Martin Kalén
Curalia AB              Web:  http://www.curalia.se
Orrspelsvägen 2B        Mail: [EMAIL PROTECTED]
SE-182 79  Stocksund    Tel:  +46-8-410 064 40


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to