Skip navigation links

Package org.sormula.annotation.cascade

Annotations for defining cascade relationships between two row classes.

See: Description

Package org.sormula.annotation.cascade Description

Annotations for defining cascade relationships between two row classes. A cascade relationship allows an operation on a source row to initiate operations on one or more target rows. For example, use a cascade annotation on a parent row so that read/modification on parent row corresponds to read/modify on child rows.

If parent table is cached, then cascaded children of parent will be cascaded at the time parent is added to cache to avoid inconsistencies between cache and database. As a result cascades will occur when cache is modified not when cache writes to database.

Skip navigation links