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
If the static type of a collection is declared as an ArrayList, HOM works fine :
@Column(name = "productList")
private ArrayList<Product> products = new ArrayList<Product>();
But if the static type is declared as a List, HOM throws an exception :
@Column(name = "productList")
private List<Product> products = new ArrayList<Product>();
result :
Exception in thread "main" java.lang.RuntimeException: unsupported property type, java.util.List. Create custom converter or petition Hector Core team to add another converter to SerializerTypeInferer
at me.prettyprint.hom.HectorObjectMapper.determineSerializer(HectorObjectMapper.java:636)
at me.prettyprint.hom.converters.DefaultConverter.convertCassTypeToObjType(DefaultConverter.java:19)
The text was updated successfully, but these errors were encountered:
If the static type of a collection is declared as an ArrayList, HOM works fine :
But if the static type is declared as a List, HOM throws an exception :
result :
The text was updated successfully, but these errors were encountered: