Should this also include schema creation? That is, what audit tables are created?
There's no OOTB way to do this, but it should be easy to tweak the Envers code a bit to make the audit metadata discovery pluggable.
About the schema creation, I think it should create an audit table contaning all fields (audited or not) of the audited entity. This way a field can become audited at runtime with any impact to db schema.
Should I file a feature request?
Thanks a lot!
This is really helpful!