openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalina Wei (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1338) Allow comparison for VALUE(e) that maps to basic type
Date Tue, 06 Oct 2009 16:11:31 GMT
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


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.


Mime
View raw message