db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TORQUE-234) Intuitive way of using one-arg operators in Criteria
Date Thu, 11 Oct 2012 22:53:03 GMT
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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message