Package org.hibernate.dialect
Class AbstractPostgreSQLJsonJdbcType
- java.lang.Object
-
- org.hibernate.dialect.PostgreSQLPGObjectJdbcType
-
- org.hibernate.dialect.AbstractPostgreSQLJsonJdbcType
-
- All Implemented Interfaces:
Serializable
,AggregateJdbcType
,JdbcType
- Direct Known Subclasses:
PostgreSQLJsonbJdbcType
,PostgreSQLJsonJdbcType
public abstract class AbstractPostgreSQLJsonJdbcType extends PostgreSQLPGObjectJdbcType implements AggregateJdbcType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractPostgreSQLJsonJdbcType(EmbeddableMappingType embeddableMappingType, String typeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createJdbcValue(Object domainValue, WrapperOptions options)
Object[]
extractJdbcValues(Object rawJdbcValue, WrapperOptions options)
protected <X> X
fromString(String string, JavaType<X> javaType, WrapperOptions options)
EmbeddableMappingType
getEmbeddableMappingType()
protected <X> String
toString(X value, JavaType<X> javaType, WrapperOptions options)
-
Methods inherited from class org.hibernate.dialect.PostgreSQLPGObjectJdbcType
getBinder, getDefaultSqlTypeCode, getExtractor, getJdbcLiteralFormatter, getJdbcTypeCode, getTypeName, isUsable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.AggregateJdbcType
resolveAggregateJdbcType
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
getBinder, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getJdbcTypeCode, getPreferredJavaTypeClass, isBinary, isDecimal, isFloat, isInteger, isInterval, isLob, isNationalized, isNumber, isString, isTemporal, registerOutParameter, registerOutParameter
-
-
-
-
Constructor Detail
-
AbstractPostgreSQLJsonJdbcType
public AbstractPostgreSQLJsonJdbcType(EmbeddableMappingType embeddableMappingType, String typeName)
-
-
Method Detail
-
getEmbeddableMappingType
public EmbeddableMappingType getEmbeddableMappingType()
- Specified by:
getEmbeddableMappingType
in interfaceAggregateJdbcType
-
fromString
protected <X> X fromString(String string, JavaType<X> javaType, WrapperOptions options) throws SQLException
- Overrides:
fromString
in classPostgreSQLPGObjectJdbcType
- Throws:
SQLException
-
toString
protected <X> String toString(X value, JavaType<X> javaType, WrapperOptions options)
- Overrides:
toString
in classPostgreSQLPGObjectJdbcType
-
createJdbcValue
public Object createJdbcValue(Object domainValue, WrapperOptions options) throws SQLException
- Specified by:
createJdbcValue
in interfaceAggregateJdbcType
- Throws:
SQLException
-
extractJdbcValues
public Object[] extractJdbcValues(Object rawJdbcValue, WrapperOptions options) throws SQLException
- Specified by:
extractJdbcValues
in interfaceAggregateJdbcType
- Throws:
SQLException
-
-