public class

TimeTypeDescriptor

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

Class Overview

Descriptor for TIME handling.

Summary

Fields
public static final TimeTypeDescriptor INSTANCE
Public Constructors
TimeTypeDescriptor()
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 TimeTypeDescriptor INSTANCE

Public Constructors

public TimeTypeDescriptor ()

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