hi jamo,

the collecton descriptor supports sorting. ie:

      <collection-descriptor
         name="allArticlesInGroup"
         element-class-ref="org.apache.ojb.broker.AbstractArticle"
         auto-retrieve="true"
         auto-update="true"
         auto-delete="false"
      >
         <orderby name="articleId" sort="DESC"/>
         <inverse-foreignkey field-ref="productGroupId" />
      </collection-descriptor>


hth jakob

Jamo Smith schrieb:
I have a one to many relationship.  I need to retrieve the many in a
SortedSet as optimally as possible(instead of retrieving as a
collection then adding to a TreeSet)  What is the way to do this with
OJB?

--
Jamo Smith

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to