Hello all,
I'm trying to get rid of some errors I have during compiling. Instead of using "@SuppressWarnings("unchecked")" I decided to REALLY get rid of the warnings ;)
See this line of code:
Iterator<EntityRoleName> i = EntityRoleName.openByQuery("my sql statement");
The "openByQuery" method returns an Iterator. Now, how can I avoid the following warning message while compiling:
warning: [unchecked] unchecked conversion
And yes, if possible I would still like to use Iterator<EntityRoleName> in an upcoming solution.
Thanks in advance!