Liquibase and envers with hibernate plugin

I am trying to use liquibase with the hibernate plugin, so I can generate a changelog using the hibernate config and a database. Unfortunately the plugin doesn’t realize that envers creates a bunch of tables in the sessionFactory. Because of this, liquibase is adding a drop table command for every audit table. I’m assuming this isn’t supported, but figured I would ask if anyone had an idea where I could start to look at fixing it. If not, I can always write to a temp db and then compare. Thanks, Steve

I noticed that no one must really be using this option, and I saw the reasons why, but for those interested the solution is below. I still need to fix the sequence stuff that was pointed out previously.

Looks like it is as simple as this: In HibernateDatabaseSnapshotGenerator:

  1.             cfg.buildMappings();