Support the use of @CollectionId on bag-based element collections in audit entity mappings.

Description

Presently, if a user wishes to map an element collection in Envers and have it audited, they must either map such a collection by either specifying an order/index column

or by explicitly using a Set container rather than a bag-semantic based container:

Another alternative that Hibernate supports is the use of @CollectionId and we should look into adding support for that custom annotation.

Environment

None

Status

Assignee

Chris Cranford

Reporter

Chris Cranford

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure