Performance Issue: Lazy OTO Unnecessarily Triggered When Querying Via Stored Procedure

(Doc ID 1612538.1)

Last updated on JUNE 23, 2015

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



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms