EclipseLink Generates Invalid SQL Queries With Multiple 'exists' And 'member of' Subqueries (Doc ID 2080742.1)

Last updated on NOVEMBER 30, 2015

Applies to:

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

Symptoms

The scenario described below causes EclipseLink to generate an invalid SQL query.

Data model:
  Class A has a ManyToMany relationship with class M
  Class C has a OneToMany relationship with class M
  Class M has a OneToOne relationship with class MD.

Execute the following JPQL query:

 

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