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
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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class GaussDBEnumJdbcType
addAuxiliaryDatabaseObjects, getBinder, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getJdbcTypeCode, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
appendWriteExpression, appendWriteExpression, castFromPattern, castToPattern, getCastType, getCheckCondition, getDdlTypeCode, getExtraCreateTableInfo, 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
-
INSTANCE
-
-
Constructor Details
-
GaussDBOrdinalEnumJdbcType
public GaussDBOrdinalEnumJdbcType()
-
-
Method Details
-
getDefaultSqlTypeCode
public int getDefaultSqlTypeCode()- Specified by:
getDefaultSqlTypeCodein interfaceorg.hibernate.type.descriptor.jdbc.JdbcType- Overrides:
getDefaultSqlTypeCodein classGaussDBEnumJdbcType
-