Heya, I m new to hibernate. I have to say it really simplifies everything for the SQL query. However, manipulating the returned result is a headache for me at the moment.
Ok, somehow I managed to make it work! Me so happy! For those who trying to find on how to manipulate the list returned by Hibernate query, basically what I did was..
//previous code
list = (List)query.list();
From there the list shall contain mapped class and you can access it by iterator and subsequently uses getter to retrieve the value. Example
//previous code
for (int i =0; i
Hope this helps.