Thomas Fox created TORQUE-234:
---------------------------------

             Summary: Intuitive way of using one-arg operators in Criteria
                 Key: TORQUE-234
                 URL: https://issues.apache.org/jira/browse/TORQUE-234
             Project: Torque
          Issue Type: Improvement
    Affects Versions: 4.0-beta1
            Reporter: Thomas Fox
            Assignee: Thomas Fox
            Priority: Minor


Currently, one-arg operators  must be used like 
Criteria.and/or/where(operand, null, Criteria.ISNULL/Criteria.ISNOTNULL).

It currently is no compile error to write
Criteria.and/or/where(operand, Criteria.ISNULL/Criteria.ISNOTNULL)
but this is interpreted as operand = ISNULL/ISNOTNULL
which is not what the user intended.

The above expression should instead be interpreted as operand ISNULL/ISNOTNULL.

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to