cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Anderson" <sander...@airvana.com>
Subject RE: Insert at a particular position in the detail list
Date Fri, 26 Sep 2008 18:47:37 GMT
Cayenne is there to abstract the interface to the tools that the
database provides, not to obfuscate the tools. Custom ordering is not an
intrinsic attribute of a relationship in the database; it should not be
an intrinsic attribute of a relationship in Java.

If you need to sort the results or a JOIN, override the getter. If you
need to maintain custom ordering, model a linked list in your schema.
This just isn't Cayenne's responsibility.

Mime
View raw message