My Oracle Support Banner

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 to [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 Eclipselink 2.1.2
  No  -  Toplink Eclipselink 2.1.3
  Yes -  Toplink Eclipselink 2.3.1
  Yes -  Toplink 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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.