Package org.hibernate.dialect
Class OracleJsonJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.OracleJsonBlobJdbcType
-
- org.hibernate.dialect.OracleJsonJdbcType
-
- All Implemented Interfaces:
Serializable,AggregateJdbcType,JdbcType
public class OracleJsonJdbcType extends OracleJsonBlobJdbcType
Specialized type mapping forJSONand the JSON SQL data type for Oracle.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OracleJsonJdbcTypeINSTANCESingleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCheckCondition(String columnName, JavaType<?> javaType, BasicValueConverter<?,?> converter, Dialect dialect)The check constraint that should be added to the column definition in generated DDL.AggregateJdbcTyperesolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)StringtoString()-
Methods inherited from class org.hibernate.type.descriptor.jdbc.OracleJsonBlobJdbcType
createJdbcValue, extractJdbcValues, fromString, getBinder, getDefaultSqlTypeCode, getEmbeddableMappingType, getExtractor, getJdbcLiteralFormatter, getJdbcTypeCode, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getDdlTypeCode, getExtraCreateTableInfo, getFriendlyName, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
-
-
-
Field Detail
-
INSTANCE
public static final OracleJsonJdbcType INSTANCE
Singleton access
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classOracleJsonBlobJdbcType
-
resolveAggregateJdbcType
public AggregateJdbcType resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)
- Specified by:
resolveAggregateJdbcTypein interfaceAggregateJdbcType- Overrides:
resolveAggregateJdbcTypein classOracleJsonBlobJdbcType
-
getCheckCondition
public String getCheckCondition(String columnName, JavaType<?> javaType, BasicValueConverter<?,?> converter, Dialect dialect)
Description copied from interface:JdbcTypeThe check constraint that should be added to the column definition in generated DDL.- Specified by:
getCheckConditionin interfaceJdbcType- Overrides:
getCheckConditionin classOracleJsonBlobJdbcType- Parameters:
columnName- the name of the columnjavaType- theJavaTypeof the mapped columnconverter- the converter, if any, or nulldialect- the SQLDialect- Returns:
- a check constraint condition or null
-
-