[ https://issues.apache.org/jira/browse/JDO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169239#comment-15169239 ]
Tilmann Zäschke commented on JDO-752: ------------------------------------- In addition to the tests in the patch, it could make sense to test how queries with parameters treat object identity vs object equality, i.e. that a parameter object only result in a match if the object identifier (OID) is identical. I'm not sure how it is defined in the spec, but I suppose an object should only match if the OID is identical AND both objects belong to the same data store? And they should probably match even if they are _not_ equal, i.e. if the parameter object is dirty and has been modified. > JDOQL: add test case for domain objects as parameters > ----------------------------------------------------- > > Key: JDO-752 > URL: https://issues.apache.org/jira/browse/JDO-752 > Project: JDO > Issue Type: Improvement > Components: tck > Affects Versions: JDO 3.1 > Reporter: Michael Bouschen > Assignee: Michael Bouschen > Fix For: JDO 3.2 > > Attachments: JDO-752.patch > > > The TCK need a test case for domain objects as parameters. Include > referencing fields and comparing to other domain objects by identity. -- This message was sent by Atlassian JIRA (v6.3.4#6332)