Envers: when creating the revchanges and revinfo tables the property default_schema is ignored

Description

When using Hibernate Envers the property `org.hibernate.envers.default_schema` correctly works when deciding the entity schemas.

But when the tables REVCHANGES and REVINFO are being created this property is ignored and the tables are created in the default schema.

For example (this code is in kotlin, for brevity), this works:

but this not:

In this last case the tables are created in the default schema, instead of "audit" schema.
Where the hibernate property is `set to org.hibernate.envers.default_schema = "audit"`.

Environment

None

Status

Assignee

Chris Cranford

Reporter

Danilo Araújo Silva

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Feedback Requested

2019/09/30

Feedback Requested By

Chris Cranford

Components

Priority

Major
Configure