Hi Bruno,
Bruno CROS wrote:
Hi,
Just about a little question.
Does PersistenceBrokerFactory.releaseAllInstances() release all cached
objects?
I'm using PersistenceBrokerFactoryDefaultImpl and ObjetCacheDefaultImpl
(and
OJB 1.0.4.)
The goal is to force server to reload all OJB mapped objects. Is there a
proper foreseen method to call to do this?
Evict all caches:
PB.clearCache()
or
PB.serviceObjectCache().clear()
With
PersistenceBrokerFactory.releaseAllInstances()
you will release all pooled PB instances and reset the the PB pool.
regards,
Armin
Thanks a lot.
Bruno
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]