RE: findByXXX() with an ORDER BY parameter for Container-managed bean ?

2001-04-03 Thread Jeff Schnitzer
>From: Markus Holmberg [mailto:[EMAIL PROTECTED]] > >You are relying on an implementation detail of your container. > >The reason it has worked for you so far is because your container has >used an instance of java.util.ArrayList/LinkedList, which indeed does >guarantee order. But CMP Entity EJB's

RE: findByXXX() with an ORDER BY parameter for Container-managed bean ?

2001-04-01 Thread Van Duong
der. Hope this helps. Robert Hargreaves. > -Original Message- > From: Markus Holmberg [mailto:[EMAIL PROTECTED]] > Sent: 30 March 2001 16:47 > To: Orion-Interest > Cc: Magnus Rydin (E-mail) > Subject: Re: findByXXX() with an ORDER BY parameter for > Container-managed bean

Re: findByXXX() with an ORDER BY parameter for Container-managed bean ?

2001-04-01 Thread Markus Holmberg
ope this helps. > > Robert Hargreaves. > > > -Original Message- > > From: Markus Holmberg [mailto:[EMAIL PROTECTED]] > > Sent: 30 March 2001 16:47 > > To: Orion-Interest > > Cc: Magnus Rydin (E-mail) > > Subject: Re: findByXXX() with an ORDER BY par

Re: findByXXX() with an ORDER BY parameter for Container-managed bean?

2001-03-30 Thread Rian Schmidt
in your orion-ejb-jar.xml, do this: Rian - Original Message - From: Meo Van Le <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Cc: Magnus Rydin (E-mail) <[EMAIL PROTECTED]> Sent: Friday, March 30, 2001 6:35 AM Subject: findByXXX() with an ORDER BY parameter f

RE: findByXXX() with an ORDER BY parameter for Container-managed bean ?

2001-03-30 Thread Robert Hargreaves
this helps. Robert Hargreaves. > -Original Message- > From: Markus Holmberg [mailto:[EMAIL PROTECTED]] > Sent: 30 March 2001 16:47 > To: Orion-Interest > Cc: Magnus Rydin (E-mail) > Subject: Re: findByXXX() with an ORDER BY parameter for > Container-managed bean ? > &

Re: findByXXX() with an ORDER BY parameter for Container-managed bean ?

2001-03-30 Thread Markus Holmberg
Having ORDER BY in finder method queries is futile. Iterators of java.util.Collection are not required to return objects in any kind of order. Regards, Markus Holmberg. On Fri, Mar 30, 2001 at 09:35:20PM +0700, Meo Van Le wrote: > Dear all, > Could you tell me how to pass an ORDER BY param

findByXXX() with an ORDER BY parameter for Container-managed bean?

2001-03-30 Thread Meo Van Le
Dear all, Could you tell me how to pass an ORDER BY parameter ( ASC or DESC ) for a finder-method of Container-Managed bean? For example: I have an Entity Bean was deployed as a Container-Managed bean. The following lines were extracted from my orion-ejb-ja