How can i access the elements from the list created as below? I tried creating a class containing a String and an int and cast to it but it doesn't work.
List SOList = iadao.getSession().createQuery("select a.sistemOperare, count(a.sistemOperare) from User a, IstoricAfisari b, Banner c, Advertiser d where b.bannerId = c.id and c.advertiserId = d.id and b.userId = a.id group by a.sistemOperare").list();
Thank you