Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] @OneToMany - Return Order

Have a look at the @OrderBy annotation which can be specified with your @OneToMany relationship.

Cheers,
Guy

----- Original Message ----- From: "RogerV" <roger.varley@xxxxxxxxxxxxxx>
To: <eclipselink-users@xxxxxxxxxxx>
Sent: Friday, October 16, 2009 6:14 AM
Subject: [eclipselink-users] @OneToMany - Return Order



Hi

Is it possible to define the return order when a parent entity calls
getChildren() in a @OneToMany relationship. or do I need to sort the
collection "manually" in my program?

Regards
--
View this message in context: http://www.nabble.com/%40OneToMany---Return-Order-tp25923022p25923022.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.

_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users




Back to the top