[
https://issues.apache.org/jira/browse/OPENJPA-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471822#comment-13471822
]
Hal Hildebrand commented on OPENJPA-1277:
-----------------------------------------
I would like to add +1 to this as well. We have the same use case in that we
need to transform the original query to add dynamic and user specified security
rules to the query. This is incredibly straight forward if we simply transform
a tree based version. This is kind of a PITA if we have to do this ourselves.
> Support JPQL to Criteria Query conversion
> -----------------------------------------
>
> Key: OPENJPA-1277
> URL: https://issues.apache.org/jira/browse/OPENJPA-1277
> Project: OpenJPA
> Issue Type: New Feature
> Components: jpa, query
> Reporter: Pinaki Poddar
> Assignee: Pinaki Poddar
> Original Estimate: 672h
> Remaining Estimate: 672h
>
> Develop a mechanics to generate a Criteria Query from a JPQL string.
> A mechanics to convert an existing JPQL string into a Criteria Query will
> ease adoption of the new API.
> The conversion mechanics should operate both a design-time (to emit Java
> source code) as well as runtime (to instantiate of Criteria Query
> instances).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira