TopLink Essentials - setHint Refresh Does Not Refresh Hierarchy
(Doc ID 756189.1)
Last updated on MAY 25, 2021
Applies to:Oracle TopLink - Version 10.1.3.1 to 10.1.3.3 [Release AS10gR3]
Information in this document applies to any platform.
This problem can occur on any platform.
When working with EJB persistence entities within a TopLink Essentials application, those entities that are found by a primary key using 'em.find', can be refreshed simply by using 'em.refresh'. However suppose there are named queries for which you would like to refresh all entities in the hierarchy. For example a 'createNamedQuery' to return a results list:
List<ReplicationQueue> replicationQueues =
However, even using the setHint 'toplink.refresh', Toplink Essentials does not refresh the other entities in the hierarchy. This fails on the latest TopLink Essentials 10g release:
TopLink Essentials 10.1.3.3.0 V2 Build 41
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document