Package es.ua.dccia.datos

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


        PeticionDao pdao = new PeticionDao(em);
        Peticion peticion = pdao.find(idPeticion);
        if (peticion==null)
            throw new EntidadNoEncontradaException("No existe la petición con id: " + idPeticion);
        actualizacion.setPeticion(peticion);
        adao.create(actualizacion);
        em.getTransaction().commit();
        em.close();       
        return actualizacion.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.