cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-1860) In-memory matching of DataObjects against ObjectId or int
Date Fri, 02 Aug 2013 11:41:49 GMT
Andrus Adamchik created CAY-1860:
------------------------------------

             Summary: In-memory matching of DataObjects against ObjectId or int
                 Key: CAY-1860
                 URL: https://issues.apache.org/jira/browse/CAY-1860
             Project: Cayenne
          Issue Type: Improvement
          Components: Core Library
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.2M2


This is to bring in-memory expression eval closer to the its DB equivalent. Consider the expression:

 "artist = $a"

1. if "a" is a DataObject, this works the same in-memory and when executed against the DB
as a part of SelectQuery qualifier.
2. if "a" is ObjectId this works as a part of the query, but doesn't work in-memory
3. If "a" is a Number this works as a part of the query, but doesn't work in-memory

So we need to fix cases 2 & 3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message