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

[jira] Updated: (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 ]

Donald Woods updated OPENJPA-1338:
----------------------------------

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

> 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-M3
>
>
> 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.