From: Frank M. <fm...@ba...> - 2001-10-18 15:34:32
|
I'd like to specify the sorting order with findAll() for a CMP entity bean. First thing I tried was adding the following to standardjaws.xml: <enterprise-beans> <entity> <ejb-name>Profile</ejb-name> <finder> <name>findAll</name> <query /> <order>nameLast</order> <read-ahead>false</read-ahead> </finder> </entity> </enterprise-beans> The docs refer to "jaws.xml" for this, but I'm a newbie confused if this file is now called "standardjaws.xml" and they are the same file or if they are different. I also tried putting the <finder> section into the ejb-jar.xml for the bean, but that didn't work either. I tried adding ASC and DESC to the order in case that was required. I'm running under solaris with 2.4.3-tomcat. What am I doing wrong? Thanks. |