Description
<4|false|0.9.7-incubating-SNAPSHOT> org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter 'update Wine w set w.label.wineName = ?1'. Error message: <4|false|0.9.7-incubating-SNAPSHOT> org.apache.openjpa.kernel.jpql.ParseException: Encountered "." at character 26, but expected: ["="].
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.parse(JPQLExpressionBuilder.java:1661)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.<init>(JPQLExpressionBuilder.java:1641)
at org.apache.openjpa.kernel.jpql.JPQLParser.parse(JPQLParser.java:44)
at org.apache.openjpa.kernel.ExpressionStoreQuery.newCompilation(ExpressionStoreQuery.java:141)
at org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:643)
at org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:625)
at org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java:591)
at org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:653)
at org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1475)
at org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.java:120)
at org.apache.openjpa.persistence.QueryImpl.executeUpdate(QueryImpl.java:305)
at com.ibm.websphere.ejb3sample.winetour.bug.BugWineryTest.testBulkUpdate(BugWineryTest.java:551)
at com.ibm.websphere.ejb3sample.winetour.bug.BugWineryTest.main(BugWineryTest.java:141)
Caused by: <4|false|0.9.7-incubating-SNAPSHOT> org.apache.openjpa.persistence.ArgumentException: Encountered "." at character 26, but expected: ["="].
at org.apache.openjpa.kernel.jpql.JPQL.generateParseException(JPQL.java:9322)
at org.apache.openjpa.kernel.jpql.JPQL.jj_consume_token(JPQL.java:9199)
at org.apache.openjpa.kernel.jpql.JPQL.EQ(JPQL.java:5718)
at org.apache.openjpa.kernel.jpql.JPQL.update_item(JPQL.java:729)
at org.apache.openjpa.kernel.jpql.JPQL.set_clause(JPQL.java:706)
at org.apache.openjpa.kernel.jpql.JPQL.update_clause(JPQL.java:701)
at org.apache.openjpa.kernel.jpql.JPQL.update_statement(JPQL.java:147)
at org.apache.openjpa.kernel.jpql.JPQL.parseQuery(JPQL.java:65)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.parse(JPQLExpressionBuilder.java:1654)
... 12 more
Attachments
Attachments
Issue Links
- is duplicated by
-
OPENJPA-461 JPQL: navigation through embedded class field does not work
- Closed