[ 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