Class HashConverter
java.lang.Object
org.kuali.rice.krad.data.jpa.converters.HashConverter
public class HashConverter
extends Object
implements javax.persistence.AttributeConverter<String,String>
Calls the core service to hash values going to the database.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(String objectValue) This implementation hashes the value going to the database.convertToEntityAttribute(String dataValue) This implementation directly returns the hash value coming from the database.
-
Constructor Details
-
HashConverter
public HashConverter()
-
-
Method Details
-
convertToDatabaseColumn
This implementation hashes the value going to the database. -
convertToEntityAttribute
This implementation directly returns the hash value coming from the database.
-