Card 10 / 18: What causes the entity manager to move an Entity instance from the managed to the detached state?
A)
Invoke the detach() method of the entity manager on the instance
B)
Invoke the remove() method of the entity manager on the instance
C)
Invoke the unsynchronize() method of the entity manager on the instance
D)
when the associated persistence context ends at the end of the transaction boundary.
Answer:
D) when the associated persistence context ends at the end of the transaction boundary.
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|