Cascade of "all-delete-orphan" not supported for detached entities

Description

The object I'm trying to update contains an IList of child objects(Books), mapped something like this:
<bag name="Books" cascade="all-delete-orphan">
<key column="ShelfId" />
<one-to-many class="Book" />
</bag>
If i try to save detached entity - only FK will be set to null and no DELETE FROM Book statements generated. Book records still orphaned in database.

Environment

None

Assignee

Unassigned

Reporter

Abby Doris

Labels

None

Components

Affects versions

Priority

Major
Configure