Package org.hibernate.dialect.type
Class OracleJsonJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.JsonJdbcType
org.hibernate.type.descriptor.jdbc.OracleJsonBlobJdbcType
org.hibernate.dialect.type.OracleJsonJdbcType
- All Implemented Interfaces:
Serializable,AggregateJdbcType,JdbcType
- Direct Known Subclasses:
OracleOsonJdbcType
Specialized type mapping for
JSON and the JSON SQL data type for Oracle.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOracleJsonJdbcType(EmbeddableMappingType embeddableMappingType) -
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.intA JDBC type code that identifies the SQL column type to be used for schema generation.resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext) toString()Methods inherited from class org.hibernate.type.descriptor.jdbc.OracleJsonBlobJdbcType
getBinder, getExtractor, getJdbcTypeCodeMethods inherited from class org.hibernate.type.descriptor.jdbc.JsonJdbcType
createJdbcValue, extractJdbcValues, fromString, getDefaultSqlTypeCode, getEmbeddableMappingType, getJdbcLiteralFormatter, 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, appendWriteExpression, getCastType, getExtraCreateTableInfo, getFriendlyName, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isImplicitJson, isImplicitXml, isInteger, isInterval, isJson, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, isXml, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
Field Details
-
INSTANCE
Singleton access
-
-
Constructor Details
-
OracleJsonJdbcType
-
-
Method Details
-
getDdlTypeCode
public int getDdlTypeCode()Description copied from interface:JdbcTypeA JDBC type code that identifies the SQL column type to be used for schema generation.This value is passed to
DdlTypeRegistry.getTypeName(int, Size, Type)to obtain the SQL column type.- Specified by:
getDdlTypeCodein interfaceJdbcType- Overrides:
getDdlTypeCodein classOracleJsonBlobJdbcType- Returns:
- a JDBC type code
-
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
-