- All Implemented Interfaces:
javax.persistence.AttributeConverter<Object,String>
public class JsonConverter
extends Object
implements javax.persistence.AttributeConverter<Object,String>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JsonConverter
public JsonConverter()
-
Method Details
-
convertToDatabaseColumn
public String convertToDatabaseColumn(Object jsonSerializable)
- Specified by:
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<Object,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute in interface javax.persistence.AttributeConverter<Object,String>