>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
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
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
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
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 ?
>
&
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
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