Class ObjectNullAsNullTypeJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.ObjectJdbcType
-
- org.hibernate.type.descriptor.jdbc.ObjectNullAsNullTypeJdbcType
-
- All Implemented Interfaces:
Serializable
,JdbcType
public class ObjectNullAsNullTypeJdbcType extends ObjectJdbcType
Descriptor for binding objects, but binding nulls with Types.NULL- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectNullAsNullTypeJdbcType
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description ObjectNullAsNullTypeJdbcType(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 ObjectNullAsNullTypeJdbcType 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.
-
-