I add a manager update example to this entityRefresh example in chapter 12 for everyone's reference.
posted 8 months ago
Hi, I found out that the manager is still refreshed even though I comment out the cascadeType.REFRESH.
I first update a person, called Sebrina's manager from Jim to Patrick.
Then, I adjust Sebrina's vacation
Although the manager is not supposed to be refresh, my JPA in Glassfish 4.1 still refreshes the manager. See the attached diagrams.