Class ObjectNullAsBinaryTypeJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.ObjectJdbcType
-
- org.hibernate.type.descriptor.jdbc.ObjectNullAsBinaryTypeJdbcType
-
- All Implemented Interfaces:
Serializable
,JdbcType
public class ObjectNullAsBinaryTypeJdbcType extends ObjectJdbcType
Descriptor for binding objects, but binding nulls with Types.VARBINARY- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectNullAsBinaryTypeJdbcType
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description ObjectNullAsBinaryTypeJdbcType(int jdbcTypeCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> ValueBinder<X>
getBinder(JavaType<X> javaType)
Obtain a binder object capable of binding values of the given Java type to parameters of a JDBCPreparedStatement
.-
Methods inherited from class org.hibernate.type.descriptor.jdbc.ObjectJdbcType
getExtractor, getJdbcTypeCode, 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, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, 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 ObjectNullAsBinaryTypeJdbcType INSTANCE
Singleton access
-
-
Method Detail
-
getBinder
public <X> ValueBinder<X> getBinder(JavaType<X> javaType)
Description copied from interface:JdbcType
Obtain a binder object capable of binding values of the given Java type to parameters of a JDBCPreparedStatement
.- Specified by:
getBinder
in interfaceJdbcType
- Overrides:
getBinder
in classObjectJdbcType
- Parameters:
javaType
- The descriptor describing the types of Java values to be bound- Returns:
- The appropriate binder.
-
-