Examples of EstruturaAcessoEttaPK


Examples of ecar.pojo.EstruturaAcessoEttaPK

     * @throws ECARException
     */
    public EstruturaAcessoEtta getEstruturaAcessoEtta(SisAtributoSatb atributo, EstruturaEtt estruturaEtt) throws ECARException{
      // XXX: Novas fun��es de acesso
      try{
        EstruturaAcessoEttaPK id = new EstruturaAcessoEttaPK(estruturaEtt.getCodEtt(),atributo.getCodSatb());
//        return (EstruturaAcessoEtta) this.getSession().createCriteria(EstruturaAcessoEtta.class)
//              .add(Restrictions.eq("estruturaEtt", estruturaEtt))
//              .add(Restrictions.eq("sisAtributoSatb", atributo))
//              .uniqueResult();
        return (EstruturaAcessoEtta) this.getSession().get(EstruturaAcessoEtta.class, id);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.