102
I'm curious and need to find this answer quick. Google won't help much.
The Java Persistence API has these properties that tell the framework to cascade operations on associated entities:
CascadeType.PERSIST
CascadeType.DELETE
CascadeType.MERGE
CascadeType.REFRESH
I know what the first two mean: when I persist object A which has B, persist B as well, and when I delete A, delete B as well.
But I can't make any sense of what the other two accomplish. Help?