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 forJSON
and the JSON SQL data type for Oracle.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OracleJsonJdbcType
INSTANCE
Singleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCheckCondition(String columnName, JavaType<?> javaType, BasicValueConverter<?,?> converter, Dialect dialect)
The check constraint that should be added to the column definition in generated DDL.AggregateJdbcType
resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)
String
toString()
-
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:
toString
in classOracleJsonBlobJdbcType
-
resolveAggregateJdbcType
public AggregateJdbcType resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)
- Specified by:
resolveAggregateJdbcType
in interfaceAggregateJdbcType
- Overrides:
resolveAggregateJdbcType
in classOracleJsonBlobJdbcType
-
getCheckCondition
public String getCheckCondition(String columnName, JavaType<?> javaType, BasicValueConverter<?,?> converter, Dialect dialect)
Description copied from interface:JdbcType
The check constraint that should be added to the column definition in generated DDL.- Specified by:
getCheckCondition
in interfaceJdbcType
- Overrides:
getCheckCondition
in classOracleJsonBlobJdbcType
- Parameters:
columnName
- the name of the columnjavaType
- theJavaType
of the mapped columnconverter
- the converter, if any, or nulldialect
- the SQLDialect
- Returns:
- a check constraint condition or null
-
-