Add complementing annotation for @CollectionTable for customizing audit table name

Description

Problem: There is currently no way to customize the audit table name of an @ElementCollection with or without a custom table name given by @CollectionTable

Similar annotation pairs for changing hibernate and hibernate envers table naming:
@Table & @AuditTable
@SecondaryTable & @SecondaryAuditTable

Adding a new complementing annotation for @CollectionTable for customizing audit table name of @ElementCollection would improve the envers customization capabilities and close a feature gap.

Environment

None

Activity

Show:
Chris Cranford
March 29, 2017, 6:47 PM
Edited

Looking at @CollectionTable, there are a number of attributes but I believe from Envers perspective, I think only allowing the name, schema, and catalog attributes to be specified are sufficient. Those certainly satisfy the JIRA's requirement but thinking about the other attributes, I'm not convinced they're necessary. The first pass I've made follows this premise.

The implementation will be marked as @Incubating and therefore will not be subject to our normal release guidelines regarding changes, allowing us to make incremental tweaks in 6.0 as needed to satisfy user needs.

Assignee

Chris Cranford

Reporter

Former user

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure