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/10/06 18:35:31 UTC

[jira] Resolved: (OPENJPA-1338) Allow comparison for VALUE(e) that maps to basic type

     [ https://issues.apache.org/jira/browse/OPENJPA-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Catalina Wei resolved OPENJPA-1338.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

> Allow comparison for VALUE(e) that maps to basic type
> -----------------------------------------------------
>
>                 Key: OPENJPA-1338
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1338
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>             Fix For: 2.0.0
>
>
> Single persisted entity x with embeddable e.  e has a map of 3 pairs of Integer keys/values (1/100,2/200,3/300).
> This query should be allowed...
> SELECT e FROM entityTable x JOIN x.mapKeyIntegerEmbed e JOIN e.notMapKeyInteger i WHERE VALUE(i) = 200
> OpenJPA complains that "identifier "i" in "VALUE" operator is not valid in conditional expression. Per JSR 317, section 4.4.4 this operator is optionally allowed.  

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