BaseDao dao = injector.getInstance(BaseDao.class);
@SuppressWarnings("unchecked")
List<User> usg = (List<User>) dao.getList("select * from bdlequipe.user", User.class);
Iterator<User> i = usg.iterator();
User usager;
System.out.println("Usagers : ");
while (i.hasNext()) {
usager = (User) i.next();
System.out.println(usager.fname);
}