For the first question, I think, I already found the solution:
#set ($hql = ",
BaseObject as obj, StringProperty as prop, StringProperty as otherprop where
(obj.name=doc.fullName and
obj.className='UAProjectManagementCode.StepClass' and obj.name not like
'%ClassTemplate') and
(obj.id=prop.id.id and prop.id.name='Project') and
(obj.id=otherprop.id.id and otherprop.id.name='Step')
order by prop.value asc, otherprop.value asc
")
but for the second answer about sorting order if numbers and symbols stay
together, as before - I need some help ...
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Questions-about-HQL-and-order-by-issues-t…
Sent from the XWiki- Users mailing list archive at
Nabble.com.