Class CompressedTextUserType

java.lang.Object
ch.tocco.nice2.persist.core.api.hibernate.usertype.ImmutableUserType<String>
ch.tocco.nice2.persist.core.impl.hibernate.usertype.CompressedTextUserType
All Implemented Interfaces:
org.hibernate.usertype.UserType

public class CompressedTextUserType extends ImmutableUserType<String>
A user type that compresses string data using Zstd before writing it to the database. Note: Since the data is stored compressed the field cannot be used in query conditions.