The Java Persistent API defines the Query interface. Which statement is true about the Query.executeUpdate method ?
a. It must always be executed within a transaction
b. It throws a PersistenceException if no entities were updated.
c. All managed entity objects corresponding to database rows affected by the update will have their state changed to correspond with the update
Answer: A
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.