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
Support Hibernate 5.2.x #5
Conversation
run-lab-run |
@hho , It doesn't look like test classes are compiling with your solution in @hasancelik |
What test classes don't compile? 😨 The ones inside the project? Those are reused from the hibernate5 module – and they compile, run and pass:
|
This maven runtime
this is the output:
|
Hibernate 5.2 needs Java 8 – and Compiling with Java 8 is not an option? Target is set to 1.6 anyway, so backward compatibility is preserved. It's basically just the build environment that needs to be updated. |
That was right. Sorry it was my bad. I switched to Java 8 and tests passed. Can you please update this in the readme with this restriction? In any case, that is already good to see existing tests are passing. |
Test FAILed. |
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Hi @hho , Can you please sign our Contributor Agreement if not done yet ? 👍 Can you please squash commits as well? |
There are now separate modules for Hibernate 5.0.x and 5.1.x support (hazelcast-hibernate5) and for 5.2.x support (hazelcast-hibernate52). The project now needs to be built with Java 8. However, the 5.0/5.1 support still is compatible with Java 6+.
I signed the CLA right after opening this Pull Request. Enes has already put me on your Confluence page. I also just squashed the commits into one. |
Test PASSed. |
many thanks for the contribution @hho ! 👏 👏 |
The readme says When are you planning on releasing hibernate 5.2 support? |
Moves
hazelcast-hibernate5
to a module (thus the many touched files) and adds a new Maven artifact,hazelcast-hibernate52
.The
hazelcast-hibernate52
artifact uses shading to minimize its own code (otherwise, all classes except 4 would've been duplicated). I'm not sure how well this works as an OSGi bundle (and I don't know how to test it).Closes #3