| I use JPA defined converter to convert json column type to List<String>, the codes are shown following: ```java // Question.java @Entity public class Question { ... @Convert(converter = JsonListStringConverter.class) private List<String> choices; ... } // JsonListStringConverter.java public class JsonListStringConverter extends JsonListConverter<String> { } // JsonListConverter.java public class JsonListConverter<T> implements AttributeConverter<List<T>,String> { ... } ``` i debug and found it was caused by source code https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/cfg/AttributeConverterDefinition.java#L175-L191, especially Line 180 while the program step to Lin 180 with context: {Class JsonListConverter} and couldn't cast to ParameterizedType, It went wrong |