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 11.1.1.6.0 to 12.1.2.0.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Symptoms

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 11.1.1.4/ Eclipselink 2.1.2
  No  -  Toplink 11.1.1.5/ Eclipselink 2.1.3
  Yes -  Toplink 11.1.1.6/ Eclipselink 2.3.1
  Yes -  Toplink 12.1.2.0/ Eclipselink 2.4.2

 



Cause

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