We're updating the issue view to help you get more done. 

Allow different AuditStrategy for each audited Entity

Description

Hello,

with the AuditStrategy became more flexible and extensible.
But the configuration, which implementation of AuditStrategy to use, is a global one. Wouldn't it be cool to use a custom AuditStrategy for one single audited Entity? Something like this:

@Audited(strategy = "com.company.CustomAuditStrategy")
@Entity
public class MyEntity {}

Each other audited Entity uses the standard configuration from org.hibernate.envers.audit_strategy

Regards, Rokko

Environment

None

Status

Assignee

Chris Cranford

Reporter

Rokko11

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.4.0.CR1

Priority

Minor