Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hibernate4: Envers tables not generated #27

Closed
nicolasdaniels opened this issue Nov 26, 2013 · 5 comments
Closed

Hibernate4: Envers tables not generated #27

nicolasdaniels opened this issue Nov 26, 2013 · 5 comments

Comments

@nicolasdaniels
Copy link

It seems Envers was handled in previous version but has been removed with Hibernate4.

Could it be possibe to have the Envers tables generated as well ?

Thanks

@nvoxland
Copy link
Contributor

I haven't work much with envers. How would you expect liquibase to interact with them?

@nicolasdaniels
Copy link
Author

Envers requires and additional table for each existing tables, in order to keep history log.
So if I've a 'User' table, Envers requires a 'User_AUD' table to exist. Structure of this new table is mostly the same as the source.

I don't know how Envers is adding those tables configuration to Hibernate but they are not generated by liquibase change log using Hibernate plugin.

@nvoxland
Copy link
Contributor

Thanks for the background. I can take a look

mdettlaff pushed a commit to mdettlaff/liquibase-hibernate that referenced this issue Jun 21, 2014
@mdettlaff
Copy link

I fixed it. See Pull Request #54

nvoxland added a commit that referenced this issue Oct 14, 2014
Fix for Issue #27: Hibernate4: Envers tables not generated
@nvoxland
Copy link
Contributor

Merged in pull request, should be supported now.

nvoxland added a commit that referenced this issue Aug 8, 2016
Accidentally reverted changes for fixing Issue #27: Hibernate Envers support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants