We used ORDER BY in the finder method query in Orion 1.3.8 with no problems,
then moved to Orion 1.5.2 and they stopped working. Check which version of
Orion you're using.

> -----Original Message-----
> From: Eddie Post [mailto:[EMAIL PROTECTED]]
> Sent: 15 June 2001 23:48
> To: Orion-Interest
> Subject: Re: Collection or list as return ??
> 
> 
> Thanks Scott,
> 
> Thanks for the test (stupid that I didn't thought about that 
> ;) ). So, yes 
> the returned Collection (read: ArrayList) is a sorted one.
> But how general is this, as I can't find anything in the J2EE 
> spec about 
> this and is it possible that Orion will change this such that 
> it isn't 
> sorted anymore ?
> 
> 
> What do you think ? Let the DB do the "order by" or just let 
> the sort method 
> of Collections do the trick ? I have noticed that the sort 
> method is very 
> fast.
> 
> 
> Eddie


Reply via email to