Infact it gives ids only when the setFirstResult is set at 0 i.e. setFirstResult(0). When
the value of setFirstResult is anything other than 0, the query returns Object[]'s.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159273#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...