I have created an entity, but at the time of doing the foreach it indicates that they are not the required types
Dao dao;
try {
dao = getHelper().getPersonaDao();
for ( Persona persona:dao.queryForAll()){
//Log.d("bnx","name= "+persona.getName);
}
} catch (SQLException e){
Log.d("bnx","error");
}
Incompatible types.
Required: Object
Found: Persona