Community
Participate
Working Groups
Build Identifier: 2.1.0.v20100614-r7608 Caused by: Exception [EclipseLink-8030] (Eclipse Persistence Services - 2.1.0.v20100614-r7608): org.eclipse.persistence.exceptions.JPQLException Exception Description: Error compiling the query [select l from Label l join l.translations t where t.language = :lang], line 1, column 52: unknown state or association field [language] of class [com.test.Translation]. at org.eclipse.persistence.exceptions.JPQLException.unknownAttribute(JPQLException.java:457) at org.eclipse.persistence.internal.jpa.parsing.DotNode.validate(DotNode.java:88) at org.eclipse.persistence.internal.jpa.parsing.Node.validate(Node.java:91) at org.eclipse.persistence.internal.jpa.parsing.BinaryOperatorNode.validate(BinaryOperatorNode.java:34) at org.eclipse.persistence.internal.jpa.parsing.EqualsNode.validate(EqualsNode.java:41) at org.eclipse.persistence.internal.jpa.parsing.WhereNode.validate(WhereNode.java:34) ... Reproducible: Always Steps to Reproduce: 1. unzip test case 2. edit persistence.xml 3. mvn clean install 4. run Test.class
Created attachment 183852 [details] test case
Setting target and priority. See the following page for the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines Workaround is to go through either Criteria API, or EclipseLink-native expression API.
What is the schedule for the Target Milestone "Future"?
"Future" means that this bug is not targetted for a specific release. Generally bugs move up into releases as we fix bugs that are targetted. We use a number of criteria to determine which bugs to move up. (e.g. number of votes, submitter-provided patch availability, importance to the employers of the various committers, seriousness of the issue, ability to work around)
The issue is the wrong descriptor is used, need to use one from mapping, not non-initialized one. Need to use descriptor as type the same a embedded.
See, Bug#314025
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink