Support saving an object with proxied envers collection

Description

There are some problems when saving an object, that is loaded from the audit tables.

We have an entity with a one-to-many (unidirectional) relationship and cascading enabled. Saving such an object from the normal tables works fine as expected. However, if the object is loaded from the audit tables, saving it will create an invalid revision. I will attach some tests, that will demonstate this issue.

Environment

None

Assignee

Roger

Reporter

Tobias Wolschon

Labels

None

Components

Affects versions

Priority

Major
Configure