logo

Crowdly

Browser

Add to Chrome

SIS0208 - METODOLOGIA Y PROGRAMACION ORIENTADA A OBJETOS I - GRUPO 4

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!

¿Por qué este fragmento no compila?

    TypedQuery

tq = em.createQuery("SELECT u FROM Usuario u");

List

lista = tq.getResultList();

0%
0%
0%
100%
View this question
¿Qué propiedad (hibernate) se utiliza normalmente para activar la impresión de SQL en consola? Escribe la propiedad exacta.
0%
0%
0%
0%
View this question
¿Qué anotación se utiliza para mapear una relación muchos-a-muchos? Responde la anotación.
0%
0%
0%
0%
View this question
¿Cuál es un efecto adverso frecuente al marcar grandes colecciones con FetchType.EAGER? (elige la mejor respuesta)
0%
0%
100%
0%
View this question
Observa:

    TypedQuery

q = em.createQuery("SELECT c FROM Cliente c");

¿Cuál es la corrección para que compile y sea typed?

100%
0%
0%
0%
View this question
¿Por qué el siguiente código no compila?

EntityManager em = Persistence.createEntityManager();

em.getTransaction().begin();

0%
0%
0%
0%
View this question
El siguiente fragmento pretende usar una secuencia, ¿qué falta para que compile y funcione correctamente?

@Id

@GeneratedValue(strategy = GenerationType.SEQUENCE)

private Long id;

0%
0%
0%
0%
View this question
Señala la causa típica de LazyInitializationException (elige la mejor respuesta).
100%
0%
0%
0%
View this question
¿Cuál es la anotación que marca una clase como entidad JPA?

// ejemplo

public class Persona {

private Long id;

private String nombre;

}

0%
0%
100%
0%
View this question
¿Por qué este código no compila?

@Column(length = -10)

private String nombre;

0%
0%
0%
0%
View this question

Want instant access to all verified answers on uamvirtual.uam.edu.ni?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome