[hibernate-dev] 'key-many-to-one-element' and 'on-delete'

Łukasz Antoniak lukasz.antoniak at gmail.com
Wed Mar 6 08:58:37 EST 2013


Hello Team,

What do you think about adding "on-delete" attribute to
"key-many-to-one-element" type in HBM mapping? This would allow
generation of "ON DELETE CASCADE" clause.
Context: "HHH-7807 - Deleting Revision Entity" and "HHH-8052 -
Possibility to deleted audits/revisions in an orderly way".

Regards,
Lukasz Antoniak


More information about the hibernate-dev mailing list