IBM Support

Open JPA 500 Error : JPQL does not support conditional expression over embeddable class.

Troubleshooting


Problem

You receive an open JPA 500 Error : JPQL does not support conditional expression over embeddable class.

Symptom

Error 500: <openjpa-2.1.2-SNAPSHOT-r422266:1384519 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: An error occurred
while parsing the query filter 'SELECT e FROM Map e
where e.MapPK = :ProdCMapPK'.
Error message: JPQL query does not support conditional expression
over embeddable class. JPQL string: "ProdMapPK".

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Java Persistence API (JPA)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.5.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
WebSphere Application Server

Software version:
9.0, 8.5.5, 8.0, 7.0

Operating system(s):
AIX, HP-UX, IBM i, Linux, Solaris, Windows

Document number:
217835

Modified date:
03 March 2025

UID

swg21623645

Manage My Notification Subscriptions