// return (TipoAcompGrpAcesso)
// this.getSession()
// .createCriteria(TipoAcompGrpAcesso.class)
// .add(Restrictions.eq("id",id))
// .uniqueResult();
return (TipoAcompGrpAcesso) this.getSession().get(TipoAcompGrpAcesso.class, new TipoAcompGrpAcessoId(ta.getCodTa(),satb.getCodSatb()));
}
catch (HibernateException e) {
this.logger.error(e);
throw new ECARException(e);
}