You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2012/10/12 00:53:03 UTC
[jira] [Created] (TORQUE-234) Intuitive way of using one-arg
operators in Criteria
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
[jira] [Resolved] (TORQUE-234) Intuitive way of using one-arg
operators in Criteria
Posted by "Thomas Fox (JIRA)" <ji...@apache.org>.
[ 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