vseerla Posted May 27, 2011 Share Posted May 27, 2011 i am trying to generate a report using HQL with Ireport tool...i wrote a HQL query in JRXML ...select mo.currentTask, count(mo) from MaterOrder mo where mo.createdDate between $P{fromDate} and $P{toDate} and lower(mo.status) in ('in_effect','cancel_completed','completed') group by mo.currentTaski have design the template using Ireport after than click on the preview button on the IReport tool...it is givin error UNKNOWN HQL RETURN ALIAS ....Please help me out...Thanks in advance...venkatPost Edited by vseerla at 05/27/2011 06:21 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now