-
Notifications
You must be signed in to change notification settings - Fork 682
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 hibernate to 5.3.x #1263
Comments
Hi, |
@tomparle Unfortunately, it's not possible. The problem is that Play1 uses a "hacked" version of hibernate.jar See files:
So, in order to update hibernate, you need to checkout sources, apply the patch, build a new hibernate jar and commit it to Play1. It's not impossible, but it's weird. :( |
@asolntsev oh, I forgot about the Hibernate patch, my bad. Thank you for pointing this out and for the explainations to patch it manually. |
We already use the newest hibernate with play. |
@flybyray Can you describe how exactly you did it? How is it possible to use latest hibernate.jar in a play application? |
scm checkout hibernate sources, applying patches (some need adjustments for the current source of hibernate but not difficult, there are just line movements), than build hibernate. voila there is the jar. i am not sure if i have time to precisly describe it. Update --- forgot it --- i pushed the patches and fixes here need to check that with another development branch at work ( i think we used the 5.3.x there ) |
Ok I will provide the details. In that case i struggled with the current state of Play1 dependencies. It looks a little bit confused. #1265 |
That would be the current patch file https://gist.github.com/flybyray/35c1cde8655e65a49e4e14296c74c5a5 play1 needs 2 additional libraries from hibernate dependencies. Which are not optional in classic use case (without osgi). to the dependencies.yml and the library folder. |
It is quite easy with the right tools. With intellij applying an old patch file will be like a merge conflict resolution process: http://www.screencast.com/t/ZXTDCsEELUi |
sample upgrade for issue #1263: upgrade to hibernate 5.3.6
Merged #1266 |
is there any plan to upgrade hibernate to 5.3.x
The text was updated successfully, but these errors were encountered: