- Entity class where one of the field is of JSON type (more details to follow)
- Model entity
- an Interface called Event whose implementation is then in two classes (signifying different event types/tokens). This is where I think the issue is as I am trying to map a field to an interface, but more to follow in terms of details.
I have consulted a variety of sources with different approaches:
I am still struggling with the issue and I do not seem to have found a solution.
I have modified my custom Dialect implementation:
but I am still getting the very same error. From https://vladmihalcea.com/hibernate-no-dialect-mapping-for-jdbc-type/, it is given multiple options to address the issue and I went for "Mapping the JDBC Types.OTHER to JsonNodeBinaryType at the Dialect level", but shall I also modify my repository? And if so, how? Shall I also do it at the NativeQuery level?