Barring something that I have overlooked, I don't think a reliance on an order
by clause is a good practice. Ordering is something that should be done after
the collection is realized.
jim
----- Original Message -----
From: "Jay Walters" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2001 12:22 PM
Subject: Re: EJB 2.0: EJB QL no ORDER BY clause
> This may seem tangential, but are Java 2 Collections considered ordered?
> There is clearly no restriction that they can't be ordered, but somebody for
> some reason decided to use Collection for the return type of multi-object
> finders instead of List.
>
> Cheers
> Jay
>
> -----Original Message-----
> From: Richard Monson-Haefel [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 1:44 PM
> To: [EMAIL PROTECTED]
> Subject: EJB 2.0: EJB QL no ORDER BY clause
>
>
> EJB QL is missing an ORDER BY clause. I think this is an important
> omissions. This feature should be supported by just about every target
> environment, so why isn't included in EJB QL?
>
> NOTE:
> If you are interested in debating the virtues of EJB QL itself, kindly
> do so in a separate thread. I'm just looking for feedback on this one
> issue.
>
> Thanks,
>
> Richard
> --
> Richard Monson-Haefel
> Author of Enterprise JavaBeans, 2nd Edition (O'Reilly 2000)
> Co-Author of Java Message Service (O'Reilly 2000)
> http://www.jMiddleware.com
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".