Package es.ua.dccia.datos

Examples of es.ua.dccia.datos.PeticionDao.create()


        peticion.setConseguida(false);
        peticion.setDestacada(false);
        peticion.setInicio(new Date());
        peticion.setFirmasConseguidas(0);
        //guardar la petición en la BD y asignarla al usuario actual
        pdao.create(peticion);
        UsuarioDao udao = new UsuarioDao(em);
        peticion.setCreador(udao.find(loginCreador));
        em.getTransaction().commit();
        em.close();
        return peticion.getId();
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.