Sorry,I'm using OJB 1.0rc3. ----- Original Message ----- From: "Duma Rolando" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 1:35 PM Subject: OrderBy on m:n relationship
> 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
