Class TinyIntAsSmallIntJdbcType

java.lang.Object
org.hibernate.type.descriptor.jdbc.TinyIntJdbcType
org.hibernate.type.descriptor.jdbc.TinyIntAsSmallIntJdbcType
All Implemented Interfaces:
Serializable, JdbcType

public class TinyIntAsSmallIntJdbcType extends TinyIntJdbcType
Descriptor for TINYINT handling, when the SMALLINT DDL type code is used. This type binds and extracts Short instead of Byte through JDBC, because it is not specified whether the conversion from Byte to Short is signed or unsigned, yet we need the conversion to be signed, which is properly handled by the JavaType.unwrap(Object, Class, WrapperOptions) implementations.
See Also: