[xwiki-users] Questions about HQL and order by issues

2010-05-11 Thread Colesnicov Eugen
Hello everybody! I need a few help about HQL issues. 1) I have own class XWiki, and make query with sorting results by the class properties values, BUT not only one property. I wrote: #set ($hql = , BaseObject as obj, StringProperty as prop where obj.name=doc.fullName and

Re: [xwiki-users] Questions about HQL and order by issues

2010-05-11 Thread Colesnicov Eugen
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