Hi Russel <finder> <name>findBigClasses</name> <query>studentCount {0} and teacherName = {1}</query> <order>studentCount DESC</order> </finder> This example from JBoss docs. I hope this will do it. anil Russell wrote: > Hi awc , > > The documents did not stated anything how to order the result returned > from findAll method. > > Any other ideas anyone ? > Thanks > > awc wrote: > > > > Hi Russell, > > > > try http://www.jboss.org/documentation/HTML/ch05s05.html > > > > you will see the full story. > > > > anil > > > > Russell wrote: > > > > > > > > > > > Hi all , > > > > > > I am using RedHat6.1 , postgresql7.0.1 , jboss2.1 and jdk1.3. > > > I have created a findAll method however the result returned are not > > > ordered. > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user