Card 9 / 18: What causes the entity manager to move an Entity instance from the detached to the managed state?
A)
Invoke the persist() method of the entity manager on the instance
B)
Invoke the merge() method of the entity manager on the instance
C)
Invoke the manage() method of the entity manager on the instance
D)
Invoke the remove() method of the entity manager on the instance
Answer:
B) Invoke the merge() method of the entity manager on the instance
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|