Class LongVarbinaryJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
org.hibernate.type.descriptor.jdbc.LongVarbinaryJdbcType
- All Implemented Interfaces:
Serializable,AdjustableJdbcType,JdbcType
Descriptor for
LONGVARBINARY handling.- See Also:
-
Field Summary
FieldsFields inherited from class org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
INSTANCE_WITHOUT_LITERALS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintA JDBC type code that identifies the SQL column type.intThe JDBC type code used when interacting with JDBC APIs.toString()Methods inherited from class org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
getBinder, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, resolveIndicatedType, shouldUseMaterializedLobMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, 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
-
LongVarbinaryJdbcType
public LongVarbinaryJdbcType() -
LongVarbinaryJdbcType
public LongVarbinaryJdbcType(int defaultSqlTypeCode)
-
-
Method Details
-
getDefaultSqlTypeCode
public int getDefaultSqlTypeCode()Description copied from interface:JdbcTypeA 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
-
toString
- Overrides:
toStringin classVarbinaryJdbcType
-
getJdbcTypeCode
public int getJdbcTypeCode()Description copied from interface:JdbcTypeThe JDBC type code used when interacting with JDBC APIs.For example, it's used when calling
PreparedStatement.setNull(int, int).- Specified by:
getJdbcTypeCodein interfaceJdbcType- Overrides:
getJdbcTypeCodein classVarbinaryJdbcType- Returns:
- a JDBC type code
-