db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (OJB-121) Criteria add* methods should return "this"
Date Mon, 28 Aug 2006 05:43:22 GMT
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: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message