[ 
https://issues.apache.org/jira/browse/OPENJPA-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla updated OPENJPA-1817:
-------------------------------------
    Fix Version/s: 4.2.0

> JPQL doens't support ORDER BY UPPER(fieldname)
> ----------------------------------------------
>
>                 Key: OPENJPA-1817
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1817
>             Project: OpenJPA
>          Issue Type: Improvement
>            Reporter: Alexander Karpov
>            Priority: Minor
>             Fix For: 4.2.0
>
>
> I tried to solve it myself
> I have changed
> \openjpa\openjpa-kernel\src\main\jjtree\org\apache\openjpa\kernel\jpql\JPQL.jjt
> void orderby_extension() #ORDERBYEXTENSION : { }
> {
>     aggregate_select_expression()
> }
> to
> void orderby_extension() #ORDERBYEXTENSION : { }
> {
>     aggregate_select_expression() | upper()
> } 
> But afraid that it might break any other cases.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to