Class BinaryJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
-
- org.hibernate.type.descriptor.jdbc.BinaryJdbcType
-
- All Implemented Interfaces:
Serializable,AdjustableJdbcType,JdbcType
public class BinaryJdbcType extends VarbinaryJdbcType
Descriptor forBINARYhandling.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BinaryJdbcTypeINSTANCE-
Fields inherited from class org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
INSTANCE_WITHOUT_LITERALS
-
-
Constructor Summary
Constructors Constructor Description BinaryJdbcType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetJdbcTypeCode()The JDBC type code used when interacting with JDBC APIs.-
Methods inherited from class org.hibernate.type.descriptor.jdbc.VarbinaryJdbcType
getBinder, getExtractor, 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, addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
-
-
-
Field Detail
-
INSTANCE
public static final BinaryJdbcType INSTANCE
-
-
Method Detail
-
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
-
-