Joined: Fri Oct 16, 2009 3:44 pm Posts: 2
|
hi
i am trying to run my application.
String hqlquery="select min(invAmt) from Insurance insurance";
Query query=session.createQuery(hqlquery);
List list=query.list();
but this is giving me an exception when i run it
No data type for node: org.hibernate.hql.ast.AggregateNode \-[AGGREGATE] AggregateNode: 'min' \-[ALIAS_REF] IdentNode: 'invAmt' {alias=invAmt, no from element}
Is this the problem due to jar files ?? I have installed all the corresponding jar files for this.
and i even i have problem with update() in org.hibernate.Query i got a wrong spelling executeupate() which is also not working
int row=query.executeUpate();
Thanks a Million in advance.
|
|