db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OJB-121) Criteria add* methods should return "this"
Date Sat, 14 Oct 2006 00:15:36 GMT
     [ 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: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message