AnalysisRemote analysisRemote = (AnalysisRemote) criteria.uniqueResult();
this.logger.logDebug("get successfully");
return (analysisRemote != null ? analysisRemote.getRemoteId() : -1);
} catch (HibernateException e) {
this.logger.logError("error on get last remote analysis synchronized, msg: " + e.getMessage());
throw new ExceptionDAO("No se pudieron obtener los análisis", e.fillInStackTrace());
}
}