How To Get Entity Beans Be Refreshed.
(Doc ID 754805.1)
Last updated on FEBRUARY 18, 2025
Applies to:
Oracle Containers for J2EE - Version 10.1.3.3.0 and laterInformation in this document applies to any platform.
Information in this document applies to any platform.
Goal
Using EJB 3.0 and CMP entity type .When an entity bean is queried using EJBQL to find aspecific entity, It will find the correct one and returns it. Now if a table field is changed
(for that entity) directly from the database and commit it and then it is tried to run the EJB query it returns
the old entity bean, which is not refreshed with the new data.
But if it is queried the specific field and not the entity bean itself using EJBQL it returns the
updated data.
Is there any cache for the entity beans in OAS? or any refresh interval parameter which has to be changed in OAS configuration to get the data up to date?
Solution
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
Goal |
Solution |