resultList = getHibernateTemplate().executeFind(
new ContabilitaHibernateBindCallback(query.toString(), criteria));
;
for (Object o : resultList) {
UsuraDetOut usura = new UsuraDetOut();
Object[] arrObj = (Object[]) o;
usura.setProdotto((String) arrObj[0]);
usura.setDurata((String) arrObj[1]);
usura.setClasseImporto((String) arrObj[2]);
usura.setNumeroMutui(checkLong((BigDecimal) arrObj[3]));
usura.setTaeg(checkDouble((BigDecimal) arrObj[4]));
usuraDetList.add(usura);
}
} catch (DataAccessException e) {
log("Impossibile Leggere Fatture da stampare" + e);