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 2009/09/01 20:10:32 UTC

[jira] Created: (OPENJPA-1277) Support JPQL to Criteria Query conversion

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
    Affects Versions: 2.0.0-M3, 2.0.0-M4, 2.0.0
            Reporter: Pinaki Poddar
            Assignee: Pinaki Poddar
             Fix For: 2.0.0-M3, 2.0.0-M4, 2.0.0


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.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (OPENJPA-1277) Support JPQL to Criteria Query conversion

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

Pinaki Poddar reopened OPENJPA-1277:
------------------------------------


Nothing is done on this issue and was closed by oversight/mistake.

The issue as it currently stands has no resolution.
The implementation artifacts are available at runtime to achieve this goal.

But what is unclear is the usage point of view for such a feature. It appears that such a feature should provide support more at design-time rather than at runtime. However the current JPA programming model is entirely based on runtime artifacts and has absolutely no design-time utility API. Unless that larger issue is addressed, it is not advisable to approach this specific problem in isolation.

> 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
>             Fix For: 2.0.0-M3
>
>   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.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1277) Support JPQL to Criteria Query conversion

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

Donald Woods updated OPENJPA-1277:
----------------------------------

    Affects Version/s:     (was: 2.0.0-M4)
                           (was: 2.0.0-M3)
                           (was: 2.0.0)
        Fix Version/s:     (was: 2.0.0-M4)
                           (was: 2.0.0)

> 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
>             Fix For: 2.0.0-M3
>
>   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.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OPENJPA-1277) Support JPQL to Criteria Query conversion

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

Pinaki Poddar closed OPENJPA-1277.
----------------------------------

    Resolution: Fixed

> 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
>    Affects Versions: 2.0.0-M3, 2.0.0-M4, 2.0.0
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0-M3, 2.0.0-M4, 2.0.0
>
>   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.
-
You can reply to this email to add a comment to the issue online.