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
Remove warning generated on startup "Type [org.hibernate.type.CustomType@6142b9dd] defined no registration keys; ignoring" #427
Comments
I just put a breakpoint on the line that actually throws the exception and it seems to be about the type |
It could be the You can debug to see why this warning is generated and see whether the call originates in the |
I just debugged, in the previous version this type It is indeed being registered in the (and then through MetadataBuildingProcess.contributeType at line 356) |
Indeed, the issue can be replicated with the existing test cases, so I'll provide a fix for it when I have some time. In the meanwhile, you can simply ignore it as it won't affect the functionality of your application. |
The solution requires the So instead of:
it should use something like this:
But, this is not just for the |
…ype@6142b9dd] defined no registration keys; ignoring" #427
Fixed. |
In our Spring Boot application (2.6.6), after updating Hibernate-Types-55 from 2.14.1 to 2.15.1 we are getting the following warning on startup:
Type [org.hibernate.type.CustomType@6142b9dd] defined no registration keys; ignoring
On the logger
org.hibernate.type.BasicTypeRegistry
However, we're not creating any custom types, we're only using
DecimalArrayType
which indeed doesn't seem to have these registration keys.We have this definition on 2 Entity classes:
And then also a custom postgres dialect:
Are we doing anything wrong or is this an issue in the library?
The text was updated successfully, but these errors were encountered: