[
https://issues.apache.org/jira/browse/OPENJPA-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655465#action_12655465
]
Catalina Wei commented on OPENJPA-805:
--------------------------------------
The following queries are valid in JPA2
1. selection can be a math expression, for example :
select e.salary + e.bonus from Emp e
2. selection can be aliased such that the alias can be used in Order by clause,
example:
select e.salary + e.bonus as comp from Emp e order by comp
> JPQL updates - iteration 1
> --------------------------
>
> Key: OPENJPA-805
> URL: https://issues.apache.org/jira/browse/OPENJPA-805
> Project: OpenJPA
> Issue Type: Sub-task
> Components: query
> Affects Versions: 2.0.0
> Reporter: Catalina Wei
> Assignee: Catalina Wei
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.