What does CascadeType.REFRESH actually do?

Viewed 68427

What does the CascadeType.REFRESH actually do?

The definition for it is

When we refresh an entity all the entities held in this field refresh too

but what does this mean in practice? Could someone please give me a simple example?

2 Answers
Related