db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Braeuchi (JIRA)" <j...@apache.org>
Subject [jira] Created: (OJB-102) new size-criteria for 1:n and m:n relationships
Date Wed, 08 Mar 2006 18:25:59 GMT
new size-criteria for 1:n and m:n relationships

         Key: OJB-102
         URL: http://issues.apache.org/jira/browse/OJB-102
     Project: OJB
        Type: New Feature
  Components: PB-API  
    Reporter: Jakob Braeuchi
 Assigned to: Jakob Braeuchi 
    Priority: Minor

a size criteria should be implemented to make it easier to query the size of a relationship.

looking for persons working for more than 2 projects:

        Criteria crit = new Criteria();
        crit.addSizeGreatarThan("projects", 2);
        Query q = QueryFactory.newQuery(Person.class, crit);

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message