Multiple Choice
Which f the following JPA-related statements is false?
A) You can use XE "Interfaces:EntityManager" XE "EntityManager interface" EntityManager method XE "EntityManager interface:getTransaction method" XE "getTransaction method of interface EntityManager" getTransaction to get the EntityTransaction that manages the transaction.
B) You can use EntityTransaction method XE "EntityTransaction interface:begin method" XE "begin method of interface EntityTransaction" begin to start the transaction.
C) You can use XE "Interfaces:EntityManager" XE "EntityManager interface" EntityManager method apply to insert a new entity into the database.
D) You call EntityTransaction method XE "EntityTransaction interface:commit method" XE "commit method of interface EntityTransaction" commit to commit the changes to the database.
Correct Answer:

Verified
Correct Answer:
Verified
Q6: Which of the following JPA-related statements in
Q7: When you used JPA in this chapter,
Q8: Which of the following JPA-related statements is
Q9: The first argument to EntityManager's XE "EntityManager
Q10: In JPA transaction processing, if the operations
Q11: In JPA, when you compile the entity
Q12: Which of the following statements related to
Q13: With JPA, as part of a persistence
Q14: The JPA annotation @Basic specifies whether the
Q16: An object that implements the EntityManager _