In my database table, there is a column named json_data, which is a JSON data type field. The according field in the entity class is @Column(name="json_data")
String jsonData;
.
Some data with UTF-8 characters are saved using entity.save() into database(something like \u2202). When it's retrieved, the encoding is wrong, and I got character \u0113.
My question is: what needs to be done in order to save/retrieve the JSON data type data from MySql using hibernate