My Oracle Support Banner

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

Last updated on MARCH 15, 2019

Applies to:

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


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:



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.