public class EncryptionKeyAttributeConverter extends Object implements javax.persistence.AttributeConverter<EncryptionKey,String>
EncryptionKey from/to String during save/load
to/from DB.EntityListeners.| Constructor and Description |
|---|
EncryptionKeyAttributeConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertToDatabaseColumn(EncryptionKey attribute) |
EncryptionKey |
convertToEntityAttribute(String dbData) |
public String convertToDatabaseColumn(EncryptionKey attribute)
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<EncryptionKey,String>public EncryptionKey convertToEntityAttribute(String dbData)
convertToEntityAttribute in interface javax.persistence.AttributeConverter<EncryptionKey,String>Copyright © 2016–2017. All rights reserved.