24.2.60. @OnDelete

The @OnDelete annotation is used to specify the delete strategy employed by the current annotated collection, array or joined subclasses. This annotation is used by the automated schema generation tool to generated the appropriate FOREIGN KEY DDL cascade directive.

</div>

The two possible strategies are defined by the OnDeleteAction enumeration:

</div>

CASCADE

Use the database FOREIGN KEY cascade capabilities.

</dd>

NO_ACTION

Take no action.

</dd> </dl> </div> </div>

results matching ""

    No results matching ""