Looking for SIS0208 - METODOLOGIA Y PROGRAMACION ORIENTADA A OBJETOS I - GRUPO 4 test answers and solutions? Browse our comprehensive collection of verified answers for SIS0208 - METODOLOGIA Y PROGRAMACION ORIENTADA A OBJETOS I - GRUPO 4 at uamvirtual.uam.edu.ni.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
public class PersonaDAO {
private EntityManager em;
public void guardar(Persona p) {
em.persist(p);
}
}
¿Qué falta para que la operación persista de forma segura en RESOURCE_LOCAL? (elige la mejor respuesta)
public class Pedido {
@OneToMany
private Cliente cliente;
}
public class EMF {
private static EntityManagerFactory emf;
public static EntityManagerFactory get() {
if (emf==null) emf = Persistence.createEntityManagerFactory("u");
return emf;
}
}
@Entity
public class Producto {
private String nombre;
}