Class AbstractEncryptedConverter<T,​R>

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<T,​R>
    Direct Known Subclasses:
    EncryptedBytesConverter, EncryptedStringConverter

    public abstract class AbstractEncryptedConverter<T,​R>
    extends Object
    implements javax.persistence.AttributeConverter<T,​R>
    • Constructor Detail

      • AbstractEncryptedConverter

        public AbstractEncryptedConverter()
    • Method Detail

      • encryptor

        protected final Encryptor<T,​R> encryptor()
      • oldEncryptor

        protected final Encryptor<T,​R> oldEncryptor()
      • isMigrating

        protected boolean isMigrating()
      • convertToDatabaseColumn

        public R convertToDatabaseColumn​(T attribute)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<T,​R>
      • convertToEntityAttribute

        public T convertToEntityAttribute​(R dbData)
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<T,​R>