public class JsonObjectStringConverter extends Object implements javax.persistence.AttributeConverter<com.google.gson.JsonObject,String>
Constructor and Description |
---|
JsonObjectStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convertToDatabaseColumn(com.google.gson.JsonObject attribute) |
com.google.gson.JsonObject |
convertToEntityAttribute(String dbData) |
public JsonObjectStringConverter()
public String convertToDatabaseColumn(com.google.gson.JsonObject attribute)
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<com.google.gson.JsonObject,String>
public com.google.gson.JsonObject convertToEntityAttribute(String dbData)
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<com.google.gson.JsonObject,String>
Copyright © 2018. All rights reserved.