Hi Stefano:
Just put that magic line right above the method that is complaining, and the warning will go away. parki... ________________________________ From: Stefano Tranquillini [mailto:[EMAIL PROTECTED] Sent: Thursday, December 13, 2007 12:37 PM To: [email protected] Subject: Re: QueryforList and Generics Where? but, this is the only way to resolve? there isn't a methtod to resolve it? On Dec 13, 2007 7:33 PM, Jeff Butler <[EMAIL PROTECTED] > wrote: Add this annotation: @SuppressWarnings("unchecked") Jeff Butler On Dec 13, 2007 12:24 PM, Stefano Tranquillini <[EMAIL PROTECTED]> wrote: 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_Question ario_aggiungi", aq); the warning is: found : java.util.List required: java.util.List<it.enginsoft.qo.bean.admin.Contatto > tnx bye -- Stefano -- Stefano
