Class GaussDBOrdinalEnumJdbcType

java.lang.Object
org.hibernate.community.dialect.GaussDBEnumJdbcType
org.hibernate.community.dialect.GaussDBOrdinalEnumJdbcType
All Implemented Interfaces:
Serializable, org.hibernate.type.descriptor.jdbc.JdbcType

public class GaussDBOrdinalEnumJdbcType extends GaussDBEnumJdbcType
Represents a named enum type on GaussDB.

Hibernate does not automatically use this for enums mapped as EnumType.ORDINAL, and instead this type must be explicitly requested using:

@JdbcTypeCode(SqlTypes.NAMED_ORDINAL_ENUM)
See Also:
  • SqlTypes.NAMED_ORDINAL_ENUM
  • Dialect.getEnumTypeDeclaration(String, String[])
  • Dialect.getCreateEnumTypeCommand(String, String[])
  • Serialized Form
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods declared in interface org.hibernate.type.descriptor.jdbc.JdbcType

    appendWriteExpression, appendWriteExpression, castFromPattern, castToPattern, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, getFriendlyName, getJdbcLiteralFormatter, 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, isWriteExpressionTyped, isXml, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression, wrapWriteExpression
  • Field Details

  • Constructor Details

    • GaussDBOrdinalEnumJdbcType

      public GaussDBOrdinalEnumJdbcType()