Class ByteAttributeConverter
Object
org.jasypt.hibernate6.encryptor.converters.ByteAttributeConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<byte[],byte[]>
public class ByteAttributeConverter
extends Object
implements jakarta.persistence.AttributeConverter<byte[],byte[]>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]convertToDatabaseColumn(byte[] attribute) byte[]convertToEntityAttribute(byte[] dbData)
-
Constructor Details
-
ByteAttributeConverter
public ByteAttributeConverter()
-
-
Method Details
-
convertToDatabaseColumn
public byte[] convertToDatabaseColumn(byte[] attribute) - Specified by:
convertToDatabaseColumnin interfacejakarta.persistence.AttributeConverter<byte[],byte[]>
-
convertToEntityAttribute
public byte[] convertToEntityAttribute(byte[] dbData) - Specified by:
convertToEntityAttributein interfacejakarta.persistence.AttributeConverter<byte[],byte[]>
-