Class H2FormatJsonJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.JsonJdbcType
-
- org.hibernate.type.descriptor.jdbc.H2FormatJsonJdbcType
-
- All Implemented Interfaces:
Serializable
,AggregateJdbcType
,JdbcType
@Deprecated(forRemoval=true, since="6.5") public class H2FormatJsonJdbcType extends JsonJdbcType
Deprecated, for removal: This API element is subject to removal in a future version.UseH2JsonJdbcType
insteadSpecialized type mapping forJSON
that utilizes the custom '? format json
' write expression for H2.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static H2FormatJsonJdbcType
INSTANCE
Deprecated, for removal: This API element is subject to removal in a future version.Singleton access
-
Constructor Summary
Constructors Modifier Constructor Description protected
H2FormatJsonJdbcType(EmbeddableMappingType embeddableMappingType)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
appendWriteExpression(String writeExpression, SqlAppender appender, Dialect dialect)
Deprecated, for removal: This API element is subject to removal in a future version.Append the write expression wrapped in a way to be able to write values with this JdbcType's ValueBinder.AggregateJdbcType
resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)
Deprecated, for removal: This API element is subject to removal in a future version.String
toString()
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.hibernate.type.descriptor.jdbc.JsonJdbcType
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, getCastType, getCheckCondition, 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 H2FormatJsonJdbcType INSTANCE
Deprecated, for removal: This API element is subject to removal in a future version.Singleton access
-
-
Constructor Detail
-
H2FormatJsonJdbcType
protected H2FormatJsonJdbcType(EmbeddableMappingType embeddableMappingType)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
toString
public String toString()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classJsonJdbcType
-
resolveAggregateJdbcType
public AggregateJdbcType resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
resolveAggregateJdbcType
in interfaceAggregateJdbcType
- Overrides:
resolveAggregateJdbcType
in classJsonJdbcType
-
appendWriteExpression
public void appendWriteExpression(String writeExpression, SqlAppender appender, Dialect dialect)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:JdbcType
Append the write expression wrapped in a way to be able to write values with this JdbcType's ValueBinder.
-
-