I save the ResponseEntity to the database as a String, then when I read it again and parse it, it comes as a Byte.
column in database Data Type: CLOB
Entity Field
@Column(name = "RESPONSE")
@Lob
@Type(type = "org.hibernate.type.TextType")
private String response;
column in database
PermissionDto(id=79, systemCode=null, name=null, description=null ...)
When I run the code below, the body is parsed as bytes, not json.
ResponseEntity<Object> responseString = ResponseEntity.ok().body(apiIdempotence.response);
How can I solve this problem?