Author | Message |
---|---|
dhavalpatels
Posts: 9
|
Posted 19:06 May 07, 2009 |
Hello all, Suppose I am using following hql. select max(xyz) as mx, count(sdf) as cnt from tableName.
and assigning it to List<object>. Now I have added this to some method in my DaoImpl which returns List<object>. I am forwarding it to the jsp page. Now the question is how to use it using Jstl library? Its not the same case as List<Blog> or List<BlogEntry>. It contains list<Object>.So how do I solve it? Thank you. Last edited by dhavalpatels at
19:09 May 07, 2009.
|
cysun
Posts: 2935
|
Posted 20:04 May 07, 2009 |
Your query is SQL, not HQL. An HQL query always returns a list of objects, while yours returns two lists of Integer. |