Class UuidAsBinaryJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
org.hibernate.type.descriptor.jdbc.BinaryJdbcType
org.hibernate.type.descriptor.jdbc.UuidAsBinaryJdbcType
- All Implemented Interfaces:
Serializable
,AdjustableJdbcType
,JdbcType
- See Also:
-
Field Summary
FieldsFields inherited from class org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
INSTANCE_WITHOUT_LITERALS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
A JDBC type code that identifies the SQL column type to be used for schema generation.int
A JDBC type code that identifies the SQL column type.<X> ValueExtractor<X>
getExtractor
(JavaType<X> javaType) Methods inherited from class org.hibernate.type.descriptor.jdbc.BinaryJdbcType
getJdbcTypeCode
Methods inherited from class org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
getBinder, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, resolveIndicatedType, shouldUseMaterializedLob, 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, appendWriteExpression, getCastType, getCheckCondition, getExtraCreateTableInfo, 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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
UuidAsBinaryJdbcType
public UuidAsBinaryJdbcType()
-
-
Method Details
-
getDdlTypeCode
public int getDdlTypeCode()Description copied from interface:JdbcType
A JDBC type code that identifies the SQL column type to be used for schema generation.This value is passed to
DdlTypeRegistry.getTypeName(int, Size, Type)
to obtain the SQL column type.- Returns:
- a JDBC type code
-
getDefaultSqlTypeCode
public int getDefaultSqlTypeCode()Description copied from interface:JdbcType
A JDBC type code that identifies the SQL column type.This value might be different from
JdbcType.getDdlTypeCode()
if the actual type e.g. JSON is emulated through a type like CLOB.- Returns:
- a JDBC type code
-
getExtractor
Description copied from interface:JdbcType
Obtain an extractor object capable of extracting values of the given Java type from a JDBCResultSet
.- Specified by:
getExtractor
in interfaceJdbcType
- Overrides:
getExtractor
in classVarbinaryJdbcType
- Parameters:
javaType
- The descriptor describing the types of Java values to be extracted- Returns:
- The appropriate extractor
-