Class ExtraJson.Converter
java.lang.Object
tenapull.data.entity.objectLookup.ExtraJson.Converter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<ExtraJson.JsonMap,java.lang.String>
- Enclosing class:
- ExtraJson
public static class ExtraJson.Converter extends java.lang.Object implements javax.persistence.AttributeConverter<ExtraJson.JsonMap,java.lang.String>
Hibernate converter. Converts a JsonMap into a string for the database,
and a database string back into a JsonMap
-
Constructor Summary
Constructors Constructor Description Converter() -
Method Summary
Modifier and Type Method Description java.lang.StringconvertToDatabaseColumn(ExtraJson.JsonMap json)ExtraJson.JsonMapconvertToEntityAttribute(java.lang.String json)
-
Constructor Details
-
Converter
public Converter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumnin interfacejavax.persistence.AttributeConverter<ExtraJson.JsonMap,java.lang.String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttributein interfacejavax.persistence.AttributeConverter<ExtraJson.JsonMap,java.lang.String>
-