Skip to content

NH-3840 - Wrong documentation of "cascade" in 5.1.11 (many-to-one) #1179

Closed
@nhibernate-bot

Description

@nhibernate-bot

Mariano Desanze created an issue — 15th December 2015, 21:18:14:

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: 3e4cf2a
So I think when he commited that he forgot to update the notes below.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions