You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2008/12/02 13:50:44 UTC

[jira] Created: (OPENJPA-806) Support Criteria API for JPA 2.0 - Iteration 1

Support Criteria API for JPA 2.0 - Iteration 1
----------------------------------------------

                 Key: OPENJPA-806
                 URL: https://issues.apache.org/jira/browse/OPENJPA-806
             Project: OpenJPA
          Issue Type: New Feature
            Reporter: Pinaki Poddar


Implement according to Criteria API Spec.
Iteration 1 will attempt an approach to convert QueryDefinition to a valid JPQL. This will help easier build-test-verify cycle.

Iteration 1 may exclude SubQuery and Case statements. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-806) Support Criteria API for JPA 2.0 - Iteration 1

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinaki Poddar updated OPENJPA-806:
----------------------------------

           Component/s: query
              Due Date: 16/Jan/09
    Remaining Estimate: 1344h
     Original Estimate: 1344h

> Support Criteria API for JPA 2.0 - Iteration 1
> ----------------------------------------------
>
>                 Key: OPENJPA-806
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-806
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: query
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>   Original Estimate: 1344h
>  Remaining Estimate: 1344h
>
> Implement according to Criteria API Spec.
> Iteration 1 will attempt an approach to convert QueryDefinition to a valid JPQL. This will help easier build-test-verify cycle.
> Iteration 1 may exclude SubQuery and Case statements. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-806) Support Criteria API for JPA 2.0 - Iteration 1

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinaki Poddar resolved OPENJPA-806.
-----------------------------------

    Resolution: Fixed

The support for Criteria API as per the public draft version of JPA 2.0 specification is available.
The basic approach reuses the existing kernel's capability to support JPQL by converting QueryDefinition to corresponding JPQL String, so the resultant JPQL string is executed as usual by the kernel.
The JPA 2.0 Specification has not yet mandated any equivalence (string based or otherwise) between a QueryDefinition and a JPQL string.  But an extended OpenJPAQueryBuilder provides such a conversion from a QueryDefinition to a JPQL string.
The support is available for all constructs defined in Criteria API including new JPQL features such as KEY(), VALUE() or CASE statements. However, implementation of some  of these new capabilities in the kernel's query engine is still in progress.

Preliminary documentation has also been added. Due to the evolving status of the specification in this regard, the documentation mainly refers to the public draft version of the specification for details.  

> Support Criteria API for JPA 2.0 - Iteration 1
> ----------------------------------------------
>
>                 Key: OPENJPA-806
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-806
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: query
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>   Original Estimate: 1344h
>  Remaining Estimate: 1344h
>
> Implement according to Criteria API Spec.
> Iteration 1 will attempt an approach to convert QueryDefinition to a valid JPQL. This will help easier build-test-verify cycle.
> Iteration 1 may exclude SubQuery and Case statements. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (OPENJPA-806) Support Criteria API for JPA 2.0 - Iteration 1

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on OPENJPA-806 started by Pinaki Poddar.

> Support Criteria API for JPA 2.0 - Iteration 1
> ----------------------------------------------
>
>                 Key: OPENJPA-806
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-806
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: query
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>   Original Estimate: 1344h
>  Remaining Estimate: 1344h
>
> Implement according to Criteria API Spec.
> Iteration 1 will attempt an approach to convert QueryDefinition to a valid JPQL. This will help easier build-test-verify cycle.
> Iteration 1 may exclude SubQuery and Case statements. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-806) Support Criteria API for JPA 2.0 - Iteration 1

Posted by "Jeremy Bauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Bauer updated OPENJPA-806:
---------------------------------

    Issue Type: Sub-task  (was: New Feature)
        Parent: OPENJPA-800

> Support Criteria API for JPA 2.0 - Iteration 1
> ----------------------------------------------
>
>                 Key: OPENJPA-806
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-806
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Pinaki Poddar
>
> Implement according to Criteria API Spec.
> Iteration 1 will attempt an approach to convert QueryDefinition to a valid JPQL. This will help easier build-test-verify cycle.
> Iteration 1 may exclude SubQuery and Case statements. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OPENJPA-806) Support Criteria API for JPA 2.0 - Iteration 1

Posted by "Jeremy Bauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Bauer reassigned OPENJPA-806:
------------------------------------

    Assignee: Pinaki Poddar

> Support Criteria API for JPA 2.0 - Iteration 1
> ----------------------------------------------
>
>                 Key: OPENJPA-806
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-806
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>
> Implement according to Criteria API Spec.
> Iteration 1 will attempt an approach to convert QueryDefinition to a valid JPQL. This will help easier build-test-verify cycle.
> Iteration 1 may exclude SubQuery and Case statements. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-806) Support Criteria API for JPA 2.0 - Iteration 1

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-806:
---------------------------------

         Due Date: 16/Jan/09  (was: 16/Jan/09)
    Fix Version/s: 2.0.0-M1

> Support Criteria API for JPA 2.0 - Iteration 1
> ----------------------------------------------
>
>                 Key: OPENJPA-806
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-806
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: query
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0-M1
>
>   Original Estimate: 1344h
>  Remaining Estimate: 1344h
>
> Implement according to Criteria API Spec.
> Iteration 1 will attempt an approach to convert QueryDefinition to a valid JPQL. This will help easier build-test-verify cycle.
> Iteration 1 may exclude SubQuery and Case statements. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.