Nope, if you are getting ordered results, it is your db. I would guess it is a byproduct of the pk index. Anyway, I have no plans to add ordering to cmr fields anytime soon, but you will always be able to use a selector.
-dain > -----Original Message----- > From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 9:44 PM > To: JBoss Dev > Subject: [JBoss-dev] Ordering What is Returned from a CMR Method > > > Let's say I have an entity called Product that has a CMR One to Many > relationship with another entity called ProductLineItem. > > If I call Product.getLineItems(), it returns a Collection of > ProductLineItems. > > In the current RH code, is there any way to order the way the > results are > returned? I think now they are ordered by their primary key > but it would be > really useful to be able to order them by another field... > > Hunter > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
