Preguntas y respuestas de entrevista mas solicitadas y pruebas en linea
Plataforma educativa para preparacion de entrevistas, pruebas en linea, tutoriales y practica en vivo

Desarrolla tus habilidades con rutas de aprendizaje enfocadas, examenes de practica y contenido listo para entrevistas.

WithoutBook reune preguntas de entrevista por tema, pruebas practicas en linea, tutoriales y guias comparativas en un espacio de aprendizaje responsivo.

Preparar entrevista

Examenes simulados

Poner como pagina de inicio

Guardar esta pagina en marcadores

Suscribirse con correo electronico
Entrevistas simuladas LIVE de WithoutBook JPA Temas de entrevista relacionados: 39

Interview Questions and Answers

Conoce las principales preguntas y respuestas de entrevista de JPA para principiantes y candidatos con experiencia para prepararte para entrevistas laborales.

Total de preguntas: 41 Interview Questions and Answers

La mejor entrevista simulada en vivo que deberias ver antes de una entrevista

Conoce las principales preguntas y respuestas de entrevista de JPA para principiantes y candidatos con experiencia para prepararte para entrevistas laborales.

Interview Questions and Answers

Busca una pregunta para ver la respuesta.

Preguntas y respuestas para nivel intermedio / de 1 a 5 anos de experiencia

Pregunta 1

What is an EntityManager?

  • Entity manager javax.persistence.EntityManager provides the operations from and to the database, e.g. find objects, persists them, remove objects from the database, etc.
  • Entities which are managed by an EntityManager will automatically propagate these changes to the database (if this happens within a commit statement). These objects are known as persistent object. 
  • If the Entity Manager is closed (via close()) then the managed entities are in a detached stateThese are known as the detached objects. If you want synchronize them again with the database, the a Entity Manager provides the merge() method. Once merged, the object(s) becomes perstent objects again.
  • The EntityManager is the API of the persistence context, and an EntityManager can be injected directly in to a DAO without requiring a JPA Template. The Spring Container is capable of acting as a JPA container and of injecting the EntityManager by honoring the @PersistenceContext (both as field-level and a method-level annotation).

Guardar para repaso

Guardar para repaso

Guarda este elemento en marcadores, marcalo como dificil o agregalo a un conjunto de repaso.

Abrir mi biblioteca de aprendizaje
Es util?
Agregar comentario Ver comentarios
Pregunta 2

What is Embeddable classes?

  • Entities may use persistent fields, persistent properties, or a combination of both.
  • If the mapping annotations are applied to the entity's instance variables, the entity uses persistent fields.
  • If the mapping annotations are applied to the entity's getter methods for JavaBeans-style properties, the entity uses persistent properties.
Guardar para repaso

Guardar para repaso

Guarda este elemento en marcadores, marcalo como dificil o agregalo a un conjunto de repaso.

Abrir mi biblioteca de aprendizaje
Es util?
Agregar comentario Ver comentarios
Pregunta 3

What data types are allowed in the attributes of the Entity class (fields or properties)?

Valid attribute types for Entity classes are:

  1. primitive types and their Java wrappers,
  2. strings,
  3. any Java serializable types,
  4. enums;
  5. entity types;
  6. embeddable classes
  7. collection types
Guardar para repaso

Guardar para repaso

Guarda este elemento en marcadores, marcalo como dificil o agregalo a un conjunto de repaso.

Abrir mi biblioteca de aprendizaje
Es util?
Agregar comentario Ver comentarios

Lo mas util segun los usuarios:

Copyright © 2026, WithoutBook.