1
0
mirror of synced 2025-01-31 20:41:44 +03:00

Merge pull request #952 from simshaun/patch-1

Add DB-level onDelete CASCADE example
This commit is contained in:
Marco Pivetta 2014-02-11 23:24:38 +01:00
commit 9b0d7dde91

View File

@ -100,6 +100,7 @@ of several common elements:
joinColumn: joinColumn:
name: address_id name: address_id
referencedColumnName: id referencedColumnName: id
onDelete: CASCADE
oneToMany: oneToMany:
phonenumbers: phonenumbers:
targetEntity: Phonenumber targetEntity: Phonenumber