[prev in list] [next in list] [prev in thread] [next in thread] 

List:       castor-dev
Subject:    Re: [castor-dev] Question about 1:N mapping and sorting
From:       Boris Klug <boris.klug () control ! de>
Date:       2003-02-26 7:49:05
[Download RAW message or body]


Hi!

> Castor JDO supports the ORDER BY clause, but this may not be what
> you need. My recommendation would be to get the objects into a
> java.util.Collection implementation and sort them that way in your
> business logic.

The problem is, that the sort order is in the table which does the N:M 
mapping, not in the related objects. And Castor only uses this table to get 
the related object, the table is not visible to me when I get back the object 
tree.

-- 
Dipl. Inform. Boris Klug, control IT GmbH, Germany

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
minimalist@exolab.org with a subject of:
	unsubscribe castor-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic