Package br.gov.serpro.ouvidoria.dao

Examples of br.gov.serpro.ouvidoria.dao.Dao.query()


    String sql = " select f from Orgao o, Funcionario as f "
        + " where o.id = " + orgao.getId() + " and f.instituicao = "
        + orgao.getId() + " and f.perfil = 1 ";

    funcionario = (Funcionario) funcionarioDao.query(sql).get(0);

    return funcionario;
  }

}
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.