- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Object,String>
public class JsonConverter
extends Object
implements jakarta.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 jakarta.persistence.AttributeConverter<Object,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<Object,String>