I have a simple object that has as an attribute an arraylist of many 'child'
objects based on a foreign key. This works perfectly fine with the
following mapping syntax:
<class name="com.xyz.ParentObject" identity="parentId"
key-generator="SEQUENCE">
<description>"Parent Object"</description>
<map-to table="parent"/>
<cache-type type="none"/>
{...}
<field name="children" type="com.xyz.ChildObject"
collection="arraylist">
<sql many-key="parent_id"/>
</field>
{...}
</class>
This loads perfectly fine without issue, but what I'd like to do is order
the arraylist that is generated based on two identified columns. Is this
possible without manually reordering the collected arraylist?
Ronald Rudy ([EMAIL PROTECTED])
Cross Current Corporation