| Currently only a FQN class name can be specified for audit strategies in configuration. It would be useful moving forward to introduce short-namings as an alternative that are more resilient to internal code refactoring across releases and that don't impose a configuration change on users when doing so. For example, rather than a user configuring:
org.hibernate.envers.audit_strategy=org.hibernate.envers.strategy.ValidityAuditStrategy
We'd prefer to use:
org.hibernate.envers.audit_strategy=validity
As an example to work from Hikari registers 2 short names for its connection pool, see:
org.hibernate.hikaricp.internal.StrategyRegistrationProviderImpl
META-INF/services/org.hibernate.boot.registry.selector.StrategyRegistrationProvider
|