Class GaussDBCastingJsonArrayJdbcTypeConstructor
java.lang.Object
org.hibernate.community.dialect.GaussDBCastingJsonArrayJdbcTypeConstructor
- All Implemented Interfaces:
org.hibernate.type.descriptor.jdbc.JdbcTypeConstructor
public class GaussDBCastingJsonArrayJdbcTypeConstructor
extends Object
implements org.hibernate.type.descriptor.jdbc.JdbcTypeConstructor
Factory for
GaussDBCastingJsonArrayJdbcType.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GaussDBCastingJsonArrayJdbcTypeConstructorstatic final GaussDBCastingJsonArrayJdbcTypeConstructor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintorg.hibernate.type.descriptor.jdbc.JdbcTyperesolveType(org.hibernate.type.spi.TypeConfiguration typeConfiguration, org.hibernate.dialect.Dialect dialect, org.hibernate.type.BasicType<?> elementType, org.hibernate.tool.schema.extract.spi.ColumnTypeInformation columnTypeInformation) org.hibernate.type.descriptor.jdbc.JdbcTyperesolveType(org.hibernate.type.spi.TypeConfiguration typeConfiguration, org.hibernate.dialect.Dialect dialect, org.hibernate.type.descriptor.jdbc.JdbcType elementType, org.hibernate.tool.schema.extract.spi.ColumnTypeInformation columnTypeInformation)
-
Field Details
-
JSONB_INSTANCE
-
JSON_INSTANCE
-
-
Constructor Details
-
GaussDBCastingJsonArrayJdbcTypeConstructor
public GaussDBCastingJsonArrayJdbcTypeConstructor(boolean jsonb)
-
-
Method Details
-
resolveType
public org.hibernate.type.descriptor.jdbc.JdbcType resolveType(org.hibernate.type.spi.TypeConfiguration typeConfiguration, org.hibernate.dialect.Dialect dialect, org.hibernate.type.BasicType<?> elementType, org.hibernate.tool.schema.extract.spi.ColumnTypeInformation columnTypeInformation) - Specified by:
resolveTypein interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeConstructor
-
resolveType
public org.hibernate.type.descriptor.jdbc.JdbcType resolveType(org.hibernate.type.spi.TypeConfiguration typeConfiguration, org.hibernate.dialect.Dialect dialect, org.hibernate.type.descriptor.jdbc.JdbcType elementType, org.hibernate.tool.schema.extract.spi.ColumnTypeInformation columnTypeInformation) - Specified by:
resolveTypein interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeConstructor
-
getDefaultSqlTypeCode
public int getDefaultSqlTypeCode()- Specified by:
getDefaultSqlTypeCodein interfaceorg.hibernate.type.descriptor.jdbc.JdbcTypeConstructor
-