You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will get a NullPointerException as the Java descriptor will not be able to resolve the expected mapping Class:
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at com.vladmihalcea.hibernate.type.json.internal.JsonTypeDescriptor.fromString(JsonTypeDescriptor.java:104)
at com.vladmihalcea.hibernate.type.json.internal.JsonTypeDescriptor.wrap(JsonTypeDescriptor.java:165)
at com.vladmihalcea.hibernate.type.json.internal.AbstractJsonSqlTypeDescriptor$1.doExtract(AbstractJsonSqlTypeDescriptor.java:34)
The text was updated successfully, but these errors were encountered:
Currently, the mapping Type is resolved by scanning the annotated entity attribute. However, if we want to execute a query like this one:
We will get a
NullPointerException
as the Java descriptor will not be able to resolve the expected mappingClass
:The text was updated successfully, but these errors were encountered: