| 3. |
A Product entity is managed in an active persistence context. What normally happens after application code changes its price?
Please select the best answer.
|
| |
A.
|
The change is ignored unless the entity is converted to a DTO. |
| |
B.
|
The application must call EntityManager.update(product). |
| |
C.
|
The provider detects the managed change and synchronizes it during flush. |
| |
D.
|
The application must call merge(product) after every setter or domain method. |