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] [Resolved] (TORQUE-234) Intuitive way of using one-arg operators in Criteria
Date Thu, 11 Oct 2012 22:55:03 GMT

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

Thomas Fox resolved TORQUE-234.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0-beta2
    
> 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
>             Fix For: 4.0-beta2
>
>
> 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


Mime
View raw message