1) It is the service object that manages entity life-cycle instances.
2) It is a set of entity instances.
3) It is a unique value used by the persistence provider.
4) It is a value that is used to map the entity instance to the corresponding table row in the database.
Solution : 1
--------------------------------------------------------
2) Which of the following properties of an entity specifies the propagation of the effect of an operation to associated entities?
1) Cascade
2) Ownership
3) Cardinality
4) Direction
Solution : 1
--------------------------------------------------------
3) Which of the following entity manager methods forces the synchronization of the database with entities in the persistence context?
1) flush
2) refresh
3) contains
4) merge
Solution : 1
--------------------------------------------------------
4) Which of the following options is true about mapped superclass? .i
1) It is a plain Java technology interface that is designated with the MappedSuperclass annotation.
2) It is created to provide state and the corresponding object/relational mapping information to child classes through the inheritance mechanism.
3) It can be passed as arguments to methods of the EntityManager or uery interfaces.
4) It is a target of a persistent relationship.
Solution : 2
--------------------------------------------------------
5) Which of the following options is a static query expressed in metadata?
1) Named query
2) uery language
3) uery object
4) Native query
Solution : 1
--------------------------------------------------------
6) Which of the following options can be compiled to a target language such as SL of a database or other persistent store?
1) Java Persistence uery Language
2) Named query
3) uery object
4) Native query
Solution : 1
--------------------------------------------------------
7) What requirement does