-
Notifications
You must be signed in to change notification settings - Fork 160
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
Liquibase vs Hibernate Envers #99
Comments
Facing same issue when running on an existing project managed by liquibase. It finds tables, primary keys and foreign keys, but still generates same changesets again. Can this be fixed please? |
Encountered the same issue.
|
I found another workaroud for this problems searching for a solution to set org.hibernate.envers.global_with_modified_flag and generating diffs with maven. You can set envers (and probably others too) properties via the environment (i.e. -Dorg.hibernate.envers.global_with_modified_flag=true). Audit_table_prefix and audit_table_sufix also worked. |
Seems Malket answer still works, closing this issue. |
A solution was done to provide the generation functionality in #27 #54, but this provides just the default table names. These 3 primary field/table names can be altered from JPA configuration properties using these parameters for example:
Defaults being: _AUD, REV, REVINFO
Generating diff has no idea about these and is using default values still, which always results in new changesets. Can those properties be implemented to have an affect when generating diff? Or is it not controlled by the plugin at all?
Thanks.
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: