[
https://issues.apache.org/jira/browse/OPENJPA-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved OPENJPA-26.
------------------------------------
Resolution: Fixed
Fixed on master by OPENJPA-3044 (4f2c17492); part of 4.2.0.
> JPQL parser failed to handle unary operations in arithmetic comparisons, eg.
> where -(e.salary+10) > -10
> -------------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-26
> URL: https://issues.apache.org/jira/browse/OPENJPA-26
> Project: OpenJPA
> Issue Type: Bug
> Components: query
> Reporter: Catalina Wei
> Priority: Major
> Fix For: 4.2.0
>
>
> Negation only works for numeric literals, should be generalized to arithmetic
> expressions.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)