Community
Participate
Working Groups
consider this named query: SELECT R FROM ApplicationRole R JOIN R.groupRoles G WHERE G.id.organizationGroup.name IN :groups why should there be any brackets?
Base bug has been checked in, once Eclipse JEE picks up EclipseLink 2.3.3, then this bug will not be seen in Dali.
*** Bug 375676 has been marked as a duplicate of this bug. ***
This bug is *NOT* fixed. In the latest Eclipse Neon, a query of the form [code] SELECT we FROM Whatever we JOIN we.trade trd JOIN we.whateverType wet WHERE trd.partnerId = :partnerId AND we.whateverType.id IN :whateverTypeIds ORDER BY we.whateverType.id [/code] is still being validated with an Error/Warning See forum: https://www.eclipse.org/forums/index.php/t/1086491/
Note that we use JPA 1.0 Project Facet, but as to what I see when changing the project facet to anything JPA 2.x is validates the IN expression, but using any JPA 1.0 Facet and library configuration, this fails to validate, even though using parentheses with IN expressions was even wrong in JPA 1.0. https://stackoverflow.com/q/1557085/396732