Thanks Sergiu, your suggestion worked like a charm!
Cheers!
Sergiu Dumitriu-2 wrote:
Try:
select distinct elements(prop.list) from BaseObject as obj,
DBStringListProperty as prop where obj.className='XWiki.TagClass' and
obj.id=prop.id.id and prop.id.name='tags' order by 1 asc
--
View this message in context:
http://n2.nabble.com/Help-with-%27order-by%27-clause-in-HQL-tp1455693p14605…
Sent from the XWiki- Users mailing list archive at
Nabble.com.