K. Tsang wrote:Did you try declaring and casting your list as List<Option>?
Then you don't need to cast it again in the for loop.
Thanks, unfortunately it does not work this way but a friend of mine suggested to change the HQL just simply to: "FROM options", and that did the magic!
Thanks anyway it solved