I would like to know if it's possible to order the elements retrieved inside
a collection reference.If the question is not clear, that's my problem:
I have the following code:

Query query = new QueryByCriteria(Utr.class, null);
_broker.beginTransaction();
Collection allUtr = (Collection) _broker.getObjectByQuery(query);

and the Utr class contains a Vector attribute mapped with a
<collection-descriptor ... /> in my repository-user.xml file.I would like to
customize the query so the Vector elements are ordered by an attribute
criteria of the collection element class.
Thanks in advance for your help.


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

Reply via email to