The SQL repository uses the cascade
attribute in a <property>
tag to better handle hierarchical properties—that is, properties that have the attribute item-type
or component-item-type
. The cascade
attribute can be set to one or more of these values:
insert
update
delete
For example:
<property name="scenarios" item-type="scenario" cascade="update,delete"/>