Package org.hibernate.dialect
Class MySQLCastingJsonJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.JsonJdbcType
-
- org.hibernate.dialect.MySQLCastingJsonJdbcType
-
- All Implemented Interfaces:
Serializable,AggregateJdbcType,JdbcType
public class MySQLCastingJsonJdbcType extends JsonJdbcType
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static JsonJdbcTypeINSTANCESingleton access
-
Constructor Summary
Constructors Constructor Description MySQLCastingJsonJdbcType(EmbeddableMappingType embeddableMappingType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendWriteExpression(String writeExpression, SqlAppender appender, Dialect dialect)Append the write expression wrapped in a way to be able to write values with this JdbcType's ValueBinder.AggregateJdbcTyperesolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)-
Methods inherited from class org.hibernate.type.descriptor.jdbc.JsonJdbcType
createJdbcValue, extractJdbcValues, fromString, getBinder, getDefaultSqlTypeCode, getEmbeddableMappingType, getExtractor, getJdbcLiteralFormatter, getJdbcTypeCode, toString, 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 JsonJdbcType INSTANCE
Singleton access
-
-
Constructor Detail
-
MySQLCastingJsonJdbcType
public MySQLCastingJsonJdbcType(EmbeddableMappingType embeddableMappingType)
-
-
Method Detail
-
resolveAggregateJdbcType
public AggregateJdbcType resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)
- Specified by:
resolveAggregateJdbcTypein interfaceAggregateJdbcType- Overrides:
resolveAggregateJdbcTypein classJsonJdbcType
-
appendWriteExpression
public void appendWriteExpression(String writeExpression, SqlAppender appender, Dialect dialect)
Description copied from interface:JdbcTypeAppend the write expression wrapped in a way to be able to write values with this JdbcType's ValueBinder.
-
-