More then one save in transaction with one-to-one relations throw exception.

Description

1. Set GlobalWithModifiedFlag to true
2. Object with one to one reference
3. More then one save object in transaction
Expected results: correct.
Actual: throw exception.

PullRequest: https://github.com/nhibernate/nhibernate-envers/pull/9
Add test: (BidirectionalSaveTest)
Fix in AddWorkUnit (method mergeModifiedFlags).
All tests are green.

Environment

None

Activity

Show:

Details

Assignee

Reporter

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created March 18, 2019 at 3:36 PM
Updated March 18, 2019 at 3:36 PM
Who's Looking?