Re: [JBoss-user] sorting with findAll()

2001-10-28 Thread danch
I've just checked the fix for this into the JBoss 2.4 branch. It should be present in the next stable release. -danch Frank Morton wrote: Thanks! Poked into the code last night and realized that (as I feared) there's a problem with sorting the findAll this way - it ignores anything

Re: [JBoss-user] sorting with findAll()

2001-10-19 Thread danch
Poked into the code last night and realized that (as I feared) there's a problem with sorting the findAll this way - it ignores anything you put in jaws.xml anyway. Workaround is to give it a different name, remembering to specify a query that always evaluates to true ('1 = 1' seems to work

[JBoss-user] sorting with findAll()

2001-10-18 Thread Frank Morton
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-nameProfile/ejb-name finder namefindAll/name query /

Re: [JBoss-user] sorting with findAll()

2001-10-18 Thread danch
] To: [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:34 AM Subject: [JBoss-user] sorting with findAll() 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

Re: [JBoss-user] sorting with findAll()

2001-10-18 Thread Fred Loney
: Thursday, October 18, 2001 8:34 AM Subject: [JBoss-user] sorting with findAll() 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-nameProfile/ejb-name

Re: [JBoss-user] sorting with findAll()

2001-10-18 Thread Frank Morton
Thanks for pointing me where the finder properties go, but I'm still missing something. When calling findAll() it still isn't sorting. In fact, I defined the order something that should error (that is, made the order nameLast ERROR) and no error occurred, so it still isn't being used.

Re: [JBoss-user] sorting with findAll()

2001-10-18 Thread Dmitri Colebatch
On Thu, 18 Oct 2001, Frank Morton wrote: 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. that jaws.xml is in the .jar's META-INF directory with ejb-jar.xml and jboss.xml hth dim