Nested data structure with Spring Data JDBC
问题 I wanted to create a nested datastructure. Entity1 contains Objects of type Entity2 stored in a Map. Entity2 should contain a Map of Objects of Entity3 . The first part, Entity1 and Entity works fine. When I add Entity3 , an Exception occurs. When I executed a simple test the following Exception occured: java.lang.IllegalArgumentException: Target bean of type org.springframework.data.util.Pair is not of type of the persistent entity (org.hameister.filmwatcher.nested.Entity2)!:org