My Oracle Support Banner

Query Using Batch Reading For Lazy Loading Relationship Returns Wrong Results (Doc ID 1311192.1)

Last updated on MAY 26, 2021

Applies to:

Oracle TopLink - Version 11.1.1.1.0 and later
Information in this document applies to any platform.

Symptoms

A query for a relationship mapping defined with batch reading would return invalid results, if changes had been performed on the object graph of the parent which had been used in the where clause for the query that returned the parent objects.

Entity Object Model

HouseBO has a OneToOneMapping to GarageBO
WindowBO has a OneToManyMapping to WindowBO

Problem Scenario

 



Changes

 

Cause

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
Symptoms
 Entity Object Model
 Problem Scenario
 Observed Behavior
Changes
Cause
Solution


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