Re: Newbie question about to-many ordered list

2008-05-06 Thread Andrus Adamchik
As a side note pre-ordered relationships have been on our TODO list for some time. Since it is a JPA feature, it is higher priority now. Andrus On May 6, 2008, at 10:52 AM, Malcolm Edgar wrote: I tend to do this: public List getCustomers() { List customers = super.getCustomers(); Col

Re: Newbie question about to-many ordered list

2008-05-06 Thread Malcolm Edgar
I tend to do this: public List getCustomers() { List customers = super.getCustomers(); Collections.sort(customers, new StringComparator(Customer.NAME_PROPERTY)); return customers; } regards Malcolm Edgar On Tue, May 6, 2008 at 4:58 PM, Aristedes Maniatis <[EMAIL PROTECTED]> wrote:

Re: Newbie question about to-many ordered list

2008-05-05 Thread Aristedes Maniatis
On 06/05/2008, at 11:30 AM, JGL wrote: Hi All, I recently discovered Cayenne while searching for an alternative for Hibernate. I am very impressed with the easy & intuitive framework Cayenne provides. While porting my current Hibernate app to Cayenne, I did run into an issue which I'd l

Newbie question about to-many ordered list

2008-05-05 Thread JGL
Hi All, I recently discovered Cayenne while searching for an alternative for Hibernate. I am very impressed with the easy & intuitive framework Cayenne provides. While porting my current Hibernate app to Cayenne, I did run into an issue which I'd like to seek your help: In Hibernate, the M side o