vseerla Posted May 4, 2011 Share Posted May 4, 2011 i am trying to generate a report using with hibernate annotaion pojo'sthe following query trying to execute...select mo.currentTask as currentTak,count(*) as total from MasterOrder mo where mo.createdDate between '01-DEC-2010' and '30-DEC-2010' and lower(mo.status) in ('in-effect','cancel-complete','complete') group by mo.curentTask but i am gettig Error:,expected in SELECT[select mo.currentTask as currentTak,count(*) as total from com.ngb.persist.entity.MasterOrder mo where mo.createdDate between '01-DEC-2010' and '30-DEC-2010' and lower(mo.status) in ('in-effect','cancel-complete','complete') group by mo.curentTask] please do the needful....thanks in advancevenkat 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