ProfessionRemote professionsRemote = (ProfessionRemote) criteria.uniqueResult();
this.logger.logDebug("get successfully");
return (professionsRemote != null ? professionsRemote.getProfession() : null);
} catch (HibernateException e) {
this.logger.logError("error on get profession by remote id, msg: " + e.getMessage());
throw new ExceptionDAO("No se pudieron obtener las profesiones", e.fillInStackTrace());
}
}