Association annotations
Tagged
values
The tagged
values available at association level are presented in the following table.
|
The ... tagged value |
allows ... |
Oracle |
|
{check} |
as for class |
CHECK |
|
{cluster} |
as for class |
CLUSTER |
|
{initrans} |
as for class |
INITRANS |
|
{maxtrans} |
as for class |
MAXTRANS |
|
{onDeleteCascade} |
the addition of the "ON DELETE CASCADE" option to the
constraints deduced from the model's associations |
ON DELETE CASCADE |
|
{pctfree} |
as for class |
PCTFREE |
|
{pctused} |
as for class |
PCTUSED |
|
{storage} |
as for class |
STORAGE |
|
{tablespace} |
as for class |
TABLESPACE |
It is necessary
to specify the tagged values other than {onDeleteCascade} on each orientation
of the association in the case of a mutual association.
The
{onDeleteCascade} tagged value
This tagged value offers the possibility of deleting foreign
keys which reference a primary key when the primary key is deleted.