How to configure Hibernate Envers to store audit tables into a different schema?
jpahibernate-envers
According to the hibernate user guide - envers configuration documentation this should be possible by setting the configuration
org.hibernate.envers.default_schema
defaulting to
null (same schema as table being audited)
The default schema name that should be used for audit tables. Can be overridden using the @AuditTable( schema="…" ) annotation. If not present, the schema will be the same as the schema of the table being audited.