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
Specialized type mapping for
JSON and the JSON SQL data type for Oracle.- Author:
- Christian Beikov
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetCheckCondition(String columnName, JavaType<?> javaType, BasicValueConverter<?, ?> converter, Dialect dialect) The check constraint that should be added to the column definition in generated DDL.resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext) toString()Methods inherited from class org.hibernate.type.descriptor.jdbc.OracleJsonBlobJdbcType
createJdbcValue, extractJdbcValues, fromString, getBinder, getDefaultSqlTypeCode, getEmbeddableMappingType, getExtractor, getJdbcLiteralFormatter, getJdbcTypeCode, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 Details
-
INSTANCE
Singleton access
-
-
Method Details
-
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
-