You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2009/10/12 21:42:31 UTC
[jira] Updated: (OPENJPA-1276) Support CQL for Criteria Query
[ https://issues.apache.org/jira/browse/OPENJPA-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated OPENJPA-1276:
----------------------------------
Fix Version/s: (was: 2.0.0-M3)
> Support CQL for Criteria Query
> ------------------------------
>
> Key: OPENJPA-1276
> URL: https://issues.apache.org/jira/browse/OPENJPA-1276
> Project: OpenJPA
> Issue Type: New Feature
> Components: jpa, query, tooling
> Affects Versions: 2.0.0-M3, 2.0.0-M4, 2.0.0
> Reporter: Pinaki Poddar
> Assignee: Pinaki Poddar
> Fix For: 2.0.0-M4, 2.0.0
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> Support a mechanism to translate a Criteria Query instance into a String.
> The string syntax should be *almost* JPQL but not exactly. Because some Criteria Query expressions do not have a direct JPQL representation.
> I will refer this almost JPQL-like syntax as Criteria Query Language or CQL -- which will provide ample scope of confusion being homophonic with SQL.
> From a technical perspectives, conversion to a string format should address the following
> 1. the string should look more like JPQL than a mere translation of internal expressions (say BETWEEN in two EQUAL nodes ANDed together internally)
> 2. the criteria query may be incomplete. This will be useful for the IDE tools to display the string as an user constructs the query.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.