Fixed
Details
Details
Assignee
Frédéric Delaporte
Frédéric DelaporteReporter
Mariano Desanze
Mariano DesanzeLabels
Components
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created December 15, 2015 at 9:18 PM
Updated October 16, 2017 at 10:11 PM
Resolved October 16, 2017 at 10:11 PM
In section "5.1.11. many-to-one" of the reference documentation, the "cascade" attribute has 2 conflicting posible values:
According to the summary of params:
— cascade="all|none|save-update|delete|delete-orphan|all-delete-orphan"
As seen in https://github.com/nhibernate/nhibernate-core/blob/master/doc/reference/modules/basic_mapping.xml#L1631
According to the notes below:
— The cascade attribute permits the following values: all, save-update, delete, none.
As seen in https://github.com/nhibernate/nhibernate-core/blob/master/doc/reference/modules/basic_mapping.xml#L1717-L1719
I think the first one is the the correct one. Because using github's blame I found that the summary was changed in the following commit: https://github.com/nhibernate/nhibernate-core/commit/3e4cf2a51b281b6c66e4363bd5ab4c3309257561
So I think when he commited that he forgot to update the notes below.