How to make a on demand refresh on the JPA cache at runtime?
779811Jun 17 2010 — edited Jun 24 2010Hi all,
I would like to know whether it is possible to refresh my Toplink JPA cache for all the entity objects/instances at runtime and on demand, instead of using configuration file when deploying my application..
I found EntityManager.refresh() can only refresh one specific entity object, which is not I want.
Can anyone provide some suggestion?
Thanks.
Richard