Hibernate version:nh1.01
my hql is :
Code:
select min(obj.value),max(obj.value),avg(obj.value),count(obj.id),obj.starttime,obj.item,obj.stcode,obj.pcode from Qa3 as obj group by obj.starttime,obj.item,obj.stcode,obj.pcode
here ,it can right run;
but now,i query a day data ,example native sql for oracle :
Code:
select count(id),max(value),min(value),avg(value),stcode,pcode,item,to_char(starttime,'yyyymmdd') from qa3 group by stcode,pcode,item,to_char(starttime,'yyyymmdd')
i don't know ,can nh sustain this?
thanks ! wait for you..