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

Upgrade to Grails 2.4, using the Hibernate 4 plugin. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikeleegdit
Copy link

This is a comprehensive upgrade to Grails 2.4 and Hibernate 4. I used Grails 2.4.4, and hopefully made the plugin compatible with all Grails 2.4 releases.

Updated the configuration so that run-app works correctly.
Updated all tests to use current annotation-based conventions, and all tests pass.
Use aether, and the new release plugin so that packaging the plugin and releasing it to a repository works correctly.
Added an example test that shows a workaround for Enums, because I think there is an underlying envers bug with the current version that stores the Enum as an ordinal inside of the envers table, while storing the original value as a string.
Suggest converting the plugin version to match the current Envers version, so that it is easier to determine which versions of the Hibernate plugin it is associated with.
This checkin is designated a SNAPSHOT so would need an additional change to the EnversGrailsPlugin version to make it a released version.

We are using this snapshot version internally successfully.

Thank you!

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

Successfully merging this pull request may close these issues.

1 participant