System.out.println("registrosLidos: " + registrosLidos);
System.out.println("Iniciando transacao...");
tx = session.beginTransaction();
Dao dao = new Dao();
AcompRealFisicoDao arfDao = new AcompRealFisicoDao(null);
Iterator it = listTempBean.iterator();
while(it.hasNext()) {
TempBean bean = (TempBean)it.next();
LocalItemLit lit = (LocalItemLit)dao.buscar(LocalItemLit.class, bean.getCodLit());
AcompRealFisicoArf arf = arfDao.buscarPorIettir(Long.valueOf(bean.getMes()), Long.valueOf(bean.getAno()), Long.valueOf("1187"));
if(lit == null || arf == null) {
throw new Exception("lit == null || arf == null");
}