I am working on a Spring Boot application having a legacy third party db in which I can't do any schema change. In one of my api I am receiving UUID v4 having length of 36 character which i need to store in table column of varchar(20).
Also I have to decode the column value to UUID while returning response of api.
Can anyone suggest the way to achieve the same.
Thanks