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 ObjectNullAsBinaryTypeJdbcTypeINSTANCESingleton 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, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, isBinary, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isString, isStringLike, 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:JdbcTypeObtain a binder object capable of binding values of the given Java type to parameters of a JDBCPreparedStatement.- Specified by:
getBinderin interfaceJdbcType- Overrides:
getBinderin classObjectJdbcType- Parameters:
javaType- The descriptor describing the types of Java values to be bound- Returns:
- The appropriate binder.
-
-