[ http://issues.apache.org/jira/browse/OJB-121?page=all ]

Armin Waibel resolved OJB-121.
------------------------------

    Fix Version/s: 1.0.5
       Resolution: Fixed

After backport of the Criteria class from 'trunk' by Jakob, all add* methods 
return 'this'

> 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
>             Fix For: 1.0.5
>
>
> 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]

Reply via email to