Criteria add* methods should return "this"
------------------------------------------
Key: OJB-121
URL: http://issues.apache.org/jira/browse/OJB-121
Project: OJB
Issue Type: Improvement
Components: PB-API
Affects Versions: 1.0.4, 1.0.3
Reporter: Vasily Ivanov
It would be handy if Criteria's add*() methods return "this".
The following will be possible:
QueryByCriteria query = QueryFactory.newQuery(Clazz.class, new
Criteria().addIn("a", aValues).addExists(subQuery).addEqualTo("b", bValue));
Thank you.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
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]