Hi everybody,
the following problem was already posted in the mailinglist in March 06.
<--
I've got two classes:
class Parent:
int id
String data
Collection children
class Child:
int id
String data
int parentId
Parent parent
I need to get collection of parents sorted by the number of children,
but I didn't find any way to put ReportQuery to "ORDER BY" statement.
-->
The problem is that there is no method in QueryByCriteria like
QueryByCriteria.addOrderBy(ReportQuery), so there wasn't found a proper
solution in the mailinglist when the problem was posted.
I've got the same problem and am asking if there is a solution maybe in
ojb 1.0.5?
Regards,
Abid Hussain
--
Abid Hussain
Mail: [EMAIL PROTECTED]
Web: http://www.abid76.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]