list = this.getHibernateTemplate().executeFind(
new ContabilitaHibernateBindCallback(q.toString(), criteria));
} catch (DataAccessException e) {
log("Impossibile Cercare Schede conto " + e);
e.printStackTrace();
throw new ImpossibileCercareSchedeContoException();
}
if (list != null && list.size() > 0) {
Long oldGruppo = 0l;
Long oldMastro = 0l;