Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to make a on demand refresh on the JPA cache at runtime?

779811Jun 17 2010 — edited Jun 24 2010
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2010
Added on Jun 17 2010
4 comments
1,965 views