This is a follow up to the following question on the JPA Transient annotation Why does JPA have a @Transient annotation?
I have a transient variable that I do not wa
Since no other solution here worked for me, let me post my solution how it did the trick for me:
@Transient @JsonSerialize private String mapImageSrc;
This seems to be the best solution to me as the @JsonSerialize annotation has been made for that use case.
@JsonSerialize