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
If you need to map json type property to json format when responding to the client (e.g. rest API response), add @JsonRawValue as the following:
@Column(name = "params", columnDefinition = "json")
@JsonRawValue
private String params;
This might not do the DTO mapping for server-side use, but the client will get the property properly formatted as json.