Performance Issue: Lazy OTO Unnecessarily Triggered When Querying Via Stored Procedure
(Doc ID 1612538.1)
Last updated on MARCH 01, 2021
Applies to:Oracle TopLink - Version 126.96.36.199.0 to 188.8.131.52.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.
One to one relationships marked as lazy are being triggered unnecessarily when the objects are queried via a stored procedure in a transaction and REFRESH hint (RefreshIdentityMapResult) is set to true.
As a result, additional queries are issued to the database when they are not needed which lead to performance degradation.
Occurrences of this issue:
No - Toplink 184.108.40.206/ Eclipselink 2.1.2
No - Toplink 220.127.116.11/ Eclipselink 2.1.3
Yes - Toplink 18.104.22.168/ Eclipselink 2.3.1
Yes - Toplink 22.214.171.124/ Eclipselink 2.4.2
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