Community
Participate
Working Groups
Build Identifier: version: Eclipse Persistence Services - 2.0.0.v20091127-r5931 The crashing query of a @ManyToMany relationship is written in the most basic and compact way as follows: select object(emp) from Employee emp where :projectId in( select proj.id from in(emp.projects) proj ) Reproducible: Always Steps to Reproduce: Please refer to the attached testcase (NetBeans project).
Created attachment 158249 [details] netbeans testcase in zip file
Does the following JPQL allow you to workaround? select Object(emp) from Employee emp join emp.projects proj where proj.id = :projectId
Tom, You are you joking :) This is a testcase. I don't need any help solving THIS testcase :)
Setting target and priority. See the following page for details of what this means: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
>verify not related StackOverflowError in bug # 304512 (even though this is JPQL not Criteria)
Not sure when this was fixed, but it seems to work in 2.4. (maybe Guy's subselect fix) Verified with new test in complex JPQL test suite.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink