what mechanisms one can use to compress following ? Since I am using multiple databases I want it to be under the hood like how hibernate handle using Dialects.
@Lob
@Type(type = "org.hibernate.type.TextType")
private String data;
or
@Lob
private byte[] data;