You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2013/08/02 15:57:48 UTC

[jira] [Closed] (CAY-1860) In-memory matching of DataObjects against ObjectId or int

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

Andrus Adamchik closed CAY-1860.
--------------------------------

    Resolution: Fixed
    
> 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