public class

SmallIntTypeDescriptor

extends Object
implements SqlTypeDescriptor
java.lang.Object
   ↳ org.hibernate.type.descriptor.sql.SmallIntTypeDescriptor

Class Overview

Descriptor for SMALLINT handling.

Summary

Fields
public static final SmallIntTypeDescriptor INSTANCE
Public Constructors
SmallIntTypeDescriptor()
Public Methods
<X> ValueBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
<X> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
int getSqlType()
Return the java.sql.Types JDBC type-code for the column mapped by this type.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor

Fields

public static final SmallIntTypeDescriptor INSTANCE

Public Constructors

public SmallIntTypeDescriptor ()

Public Methods

public ValueBinder<X> getBinder (JavaTypeDescriptor<X> javaTypeDescriptor)

public ValueExtractor<X> getExtractor (JavaTypeDescriptor<X> javaTypeDescriptor)

public int getSqlType ()

Return the java.sql.Types JDBC type-code for the column mapped by this type.

Returns
  • The JDBC type-code