Package cn.dinodev.spring.data.converts
Class ObjectJsonbConverter
java.lang.Object
cn.dinodev.spring.data.converts.ObjectJsonbConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Object,org.postgresql.util.PGobject>
@Component
public class ObjectJsonbConverter
extends Object
implements jakarta.persistence.AttributeConverter<Object,org.postgresql.util.PGobject>
- Author:
- Cody Lu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.postgresql.util.PGobjectconvertToDatabaseColumn(Object attribute) convertToEntityAttribute(org.postgresql.util.PGobject dbData)
-
Constructor Details
-
ObjectJsonbConverter
public ObjectJsonbConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumnin interfacejakarta.persistence.AttributeConverter<Object,org.postgresql.util.PGobject>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttributein interfacejakarta.persistence.AttributeConverter<Object,org.postgresql.util.PGobject>
-