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

Hibernate 5.3.7 compatibility #77

Open
ask4gilles opened this issue Nov 7, 2018 · 2 comments
Open

Hibernate 5.3.7 compatibility #77

ask4gilles opened this issue Nov 7, 2018 · 2 comments

Comments

@ask4gilles
Copy link

ask4gilles commented Nov 7, 2018

Hi,
I'm currently trying to migrate a Spring Boot App to SB 2.1.0.RELEASE using hibernate 5.3.7.
I'm using org.jadira.usertype:usertype.core:7.0.0.CR1
with spring.jpa.properties.jadira.usertype.autoRegisterUserTypes=true
My DateTime fields are not auto mapped to jadira anymore
(adding @Type(type="org.jadira.usertype.dateandtime.joda.PersistentDateTime") manually still works though)

Am I missing something or is this version not compatible with the latest hibernate version?


After some investigations, the registration of custom types seems OK.
I see it in the SessionFactory.
The problem occurs on an Embedded type
It is maybe related to https://hibernate.atlassian.net/browse/HHH-7310 ?


Issue created here https://hibernate.atlassian.net/browse/HHH-13088 with test case.

Thx!

@Xyaren
Copy link

Xyaren commented Oct 15, 2019

When registering the Types manually with a org.hibernate.boot.model.TypeContributor it's working for me.

I noticed, that the Jadira Integrator is called way after the TypeContributors.

@ask4gilles
Copy link
Author

@Xyaren The issue was only in embedded class in my case and I raised an issue in hibernate mentioned above. This one is still open...

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

2 participants