"jaikiran" wrote : The indexing starts with 1 and not 0. So when
setFirstResult(0) is used, it probably gets ignored.
I'm sorry. i re-read the javadocs and it appears the indexing does start from 0.
"rabbiaqaswar" wrote :
| So does that mean that the query is supposed to return Object[] containg the result
& the index, even if i am only retreiving a single value in the query?
|
|
*As far as i know*, that's not how its expected to behave. The query output should be
the same number of columns that you have mentioned in the select clause.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159285#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...