ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Tranquillini" <stefano.tranquill...@gmail.com>
Subject QueryforList and Generics
Date Thu, 13 Dec 2007 18:24:55 GMT
Hi everybody.
I've a problem. How i can resolve the warning when i try to do this:

List<Contatto> contatti = null;
contatti = sqlMap.getSqlMap().queryForList("get_Contatti_from_Nome_Cognome_Questionario_aggiungi",
aq);

the warning is:
found   : java.util.List
required: java.util.List<it.enginsoft.qo.bean.admin.Contatto>

tnx
bye


-- 
Stefano

Mime
View raw message