jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: Order by clause
Date Wed, 16 May 2007 08:33:45 GMT
Ronaldo Florence wrote:
> 	Hi, does jackrabbit implements the order by jcr:name, or jcr:path? I
> know it's optional in the especification, but it seems so usefull... And if
> it doesn't does it have any plans to?
> 	I'm also having some trouble when I order by a property that is
> encoded with LATIN1 (ISO-8859-1), the results are not ordered properly, for

What makes you think you know the encoding?

> example the folowing results:
> 		- Angola;
> 		- Brasil;
> 		- África;
> 	Should be:
> 		- África;
> 		- Angola;
> 		- Brasil;
> 	Is this a bug or I'm doing something wrong? The xpath query I use
> is: //site/*[@mpt:name] order by @mpt:name 
> Thanks for the attention.

The JCR API does not allow specifying a collation sequence, so I guess 
you're seeing whatever the default collation is for Jackrabbit...

Best regards, Julian

View raw message