Multiple choice technology web technology

Which are the valid values for Cascade attribute in mapping xml?

  1. all

  2. persist

  3. delete

  4. All the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The cascade attribute in Hibernate mapping accepts 'all', 'persist', 'delete', and other operations like 'merge', 'save-update', 'evict', 'replicate', 'refresh', and 'delete-orphan'. These determine which operations cascade from parent to child entities.