Class GaussDBCastingJsonJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.JsonJdbcType
org.hibernate.community.dialect.GaussDBCastingJsonJdbcType
- All Implemented Interfaces:
Serializable, org.hibernate.type.descriptor.jdbc.AggregateJdbcType, org.hibernate.type.descriptor.jdbc.JdbcType
public class GaussDBCastingJsonJdbcType
extends org.hibernate.type.descriptor.jdbc.JsonJdbcType
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GaussDBCastingJsonJdbcTypestatic final GaussDBCastingJsonJdbcTypeFields inherited from class org.hibernate.type.descriptor.jdbc.JsonJdbcType
INSTANCE -
Constructor Summary
ConstructorsConstructorDescriptionGaussDBCastingJsonJdbcType(boolean jsonb, org.hibernate.metamodel.mapping.EmbeddableMappingType embeddableMappingType) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendWriteExpression(String writeExpression, @Nullable org.hibernate.engine.jdbc.Size size, org.hibernate.sql.ast.spi.SqlAppender appender, org.hibernate.dialect.Dialect dialect) intbooleanisWriteExpressionTyped(org.hibernate.dialect.Dialect dialect) org.hibernate.type.descriptor.jdbc.AggregateJdbcTyperesolveAggregateJdbcType(org.hibernate.metamodel.mapping.EmbeddableMappingType mappingType, String sqlType, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) Methods inherited from class org.hibernate.type.descriptor.jdbc.JsonJdbcType
createJdbcValue, extractJdbcValues, fromString, getBinder, getDefaultSqlTypeCode, getEmbeddableMappingType, getExtractor, getJdbcLiteralFormatter, getJdbcTypeCode, toString, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
addAuxiliaryDatabaseObjects, appendWriteExpression, castFromPattern, castToPattern, getCastType, getCheckCondition, getExtraCreateTableInfo, getFriendlyName, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, getRecommendedJavaType, 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, wrapWriteExpression
-
Field Details
-
JSON_INSTANCE
-
JSONB_INSTANCE
-
-
Constructor Details
-
GaussDBCastingJsonJdbcType
public GaussDBCastingJsonJdbcType(boolean jsonb, org.hibernate.metamodel.mapping.EmbeddableMappingType embeddableMappingType)
-
-
Method Details
-
getDdlTypeCode
public int getDdlTypeCode() -
resolveAggregateJdbcType
public org.hibernate.type.descriptor.jdbc.AggregateJdbcType resolveAggregateJdbcType(org.hibernate.metamodel.mapping.EmbeddableMappingType mappingType, String sqlType, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) - Specified by:
resolveAggregateJdbcTypein interfaceorg.hibernate.type.descriptor.jdbc.AggregateJdbcType- Overrides:
resolveAggregateJdbcTypein classorg.hibernate.type.descriptor.jdbc.JsonJdbcType
-
appendWriteExpression
public void appendWriteExpression(String writeExpression, @Nullable org.hibernate.engine.jdbc.Size size, org.hibernate.sql.ast.spi.SqlAppender appender, org.hibernate.dialect.Dialect dialect) -
isWriteExpressionTyped
public boolean isWriteExpressionTyped(org.hibernate.dialect.Dialect dialect)
-