Kodo - Complex JPQL subqueries create SQL with incorrect alias assignment. (Doc ID 1300139.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Oracle Weblogic Server - Version 10.3.2 to 10.3.5
Information in this document applies to any platform.
***Checked for relevance on 8-Nov-2013***

Symptoms

Complex JPQL  statements with subqueries create incorrect SQL in WLS 10.3.2 to 10.3.5.  The statements are correct in WLS10.3 and WLS10.3.1.

The alias assignments are incorrect in the nested statements.

The following error is observed:

<openjpa-1.1.1-SNAPSHOT-r422266:807362 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: ORA-00904: "T2"."XXX_XXXX_XX": invalid identifier

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