If an application uses an extended persistence context, which of the following is true?
An application uses an application-managed entity manager. Which of the following is NOT true?
An application that uses container-managed transaction demarcation creates a query within an active transaction and receives a QueryTimeoutException. Which of those scenarios describes what happens to the active transaction?
The developer has defined the following entity class office:@Entitypublic class Office {@Idprivate int id;private String name;@OneToManyprivate List<Room> rooms;}Which of the following attributes will be in corresponding generated static metamodel class for the rooms field?
Given two entities with many-to-many bidirectional association between them:@Entity public class Employee {Collection projects;// more code here}and@Entity public class Project {Set<Employee> emps;// more code here}What set of annotations correctly defines the association?
Entity lifecycle callback methods may be defined in which three classes? (Choose three)