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:
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]