Error mapping Map<String, Integer> with JdbcTypeCode(JSON) #1849
Labels
component: entity-view-annotation-processor
kind: bug
worth: medium
Implementing this has a medium worth
Milestone
Error mapping a Map<String, Integer> stored as JSON using EntityViews
So my Entity has a Map defined like this:
I tried to return this field in a EV. I tried no Annotation, i tried "MappingSingular" and i tried "Basic"-Annotation.
With "MappingSingular" i get:
(produced code looks like this):
Using no annotation or Basic-Annnotation results in a runtime error:
Expected behavior
I expect the application to start up and run.
Steps to reproduce
Environment
Version: 1.6.10
JPA-Provider: Hibernate 6.2.13-FINAL
DBMS: MariaDB
Application Server: Spring Boot 3.1.5
The text was updated successfully, but these errors were encountered: