generatePreCascade

Generates the (pre) cascade operation from
parent to this child. This field will only
be cascaded first if the operation can be
performed with no risk to break FK constraints.
Default is to pre-cascade the persist() operation only.
Check subclasses for one-to-one, many-to-one,
one-to-many and many-to-many relationships.

Throws:

java.io.IOException

generatePostCascade

Generates the (post) cascade operation from
parent to this child. This field will be
(post) cascaded if the operation on the
parent is required to be performed first
to avoid breaking FK constraints.
Default is to post-cascade all operations,
except the persist() operation.
Check subclasses for one-to-one, many-to-one,
one-to-many and many-to-many relationships.