We have a big table with a lot of columns. After we moved to MySQL Cluster, the table cannot be created because of:
ERROR 1118 (42000): Row size too l
You can use a JPA converter to map your Entity to the database. Just add an annotation similar to this one to your params field:
@Convert(converter = JpaConverterJson.class)
and then create the class in a similar way (this converts a generic Object, you may want to specialize it):
@Converter(autoApply = true)
public class JpaConverterJson implements AttributeConverter
That's it: you can use this class to serialize any object to json in the table.