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 ObjectNullAsNullTypeJdbcTypeINSTANCESingleton 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
getCastType, getDefaultSqlTypeCode, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, isBinary, isDecimal, isFloat, isInteger, isInterval, isNumber, isString, isTemporal
-
-
-
-
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: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.
-
-