You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Catalina Wei (JIRA)" <ji...@apache.org> on 2009/01/29 19:12:59 UTC

[jira] Created: (OPENJPA-879) JPA2 Query support for general and qualified identification variable

JPA2 Query support for general and qualified identification variable 
---------------------------------------------------------------------

                 Key: OPENJPA-879
                 URL: https://issues.apache.org/jira/browse/OPENJPA-879
             Project: OpenJPA
          Issue Type: Sub-task
    Affects Versions: 2.0.0
            Reporter: Catalina Wei


support query syntax of  followings in path expressions :
1.  Key(identifier)
2.  Value(identifier)
3.  Entry(identifier)

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


[jira] Assigned: (OPENJPA-879) JPA2 Query support for general and qualified identification variable

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

Catalina Wei reassigned OPENJPA-879:
------------------------------------

    Assignee: Catalina Wei

> JPA2 Query support for general and qualified identification variable 
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-879
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-879
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>
> support query syntax of  followings in path expressions :
> 1.  Key(identifier)
> 2.  Value(identifier)
> 3.  Entry(identifier)

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


[jira] Resolved: (OPENJPA-879) JPA2 Query support for general and qualified identification variable

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

Catalina Wei resolved OPENJPA-879.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Code committed in revision r750517  supports general/qualified identification variables appear in selections:

examples:
    select KEY(e) from PhoneNumber p, in (p.emps) e

   select ENTRY(e) from PhoneNumber p, in (p.emps) e

  select VALUE(e) from PhoneNumber p, in (p.emps) e

in which emps is a relation field of  java type Map<K,V> .

JPA2 JPQL syntax allows qualified identification variables to appear in single_valued_path_expression, which implies that
   KEY(e) and VALUE(e) can be used to as a path and also can be further navigated to its fields or relations. Those support will be added in iteration 5.

More testcases will be added to cover additional annotations using @MapKeyClass and @MapKeyJoinColumns.

> JPA2 Query support for general and qualified identification variable 
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-879
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-879
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>             Fix For: 2.0.0
>
>
> support query syntax of  followings in path expressions :
> 1.  Key(identifier)
> 2.  Value(identifier)
> 3.  Entry(identifier)

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


[jira] Updated: (OPENJPA-879) JPA2 Query support for general and qualified identification variable

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

Catalina Wei updated OPENJPA-879:
---------------------------------

    Parent Issue: OPENJPA-875  (was: OPENJPA-808)

> JPA2 Query support for general and qualified identification variable 
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-879
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-879
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>
> support query syntax of  followings in path expressions :
> 1.  Key(identifier)
> 2.  Value(identifier)
> 3.  Entry(identifier)

-- 
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-879) JPA2 Query support for general and qualified identification variable

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

Work on OPENJPA-879 started by Catalina Wei.

> JPA2 Query support for general and qualified identification variable 
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-879
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-879
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>
> support query syntax of  followings in path expressions :
> 1.  Key(identifier)
> 2.  Value(identifier)
> 3.  Entry(identifier)

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