Seems like the order is no important until you actually look at the
item, no? So if you have a collection of alive and dead cats you could
provide a finder with an ORDER BY to sort them accordingly. Could also
specify a sortable concrete type in the DD versus Collection and use
ArrayList or Collection to sort them using the natural order or your own
comparator. 

-----Original Message-----
From: Poppe, Troy [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 29, 2003 1:03 PM
To: Jboss User (E-mail)
Subject: [JBoss-user] CMR fields and sorting?



I am using XDoclet to generate EJBs that have some CMR fields.  I'm
using the XDoclet VO's as well.

I'm curious if anyone knows of a way to sort the CMR field given some
Comparator class.  Not sure if there is a way to do this with JBoss
during the construction of the EJB object, or with XDoclet, or in the
XDoclet produced code.

Thanks.

Troy



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to