public class

JdbcTimeTypeDescriptor

extends AbstractTypeDescriptor<T>
java.lang.Object
   ↳ org.hibernate.type.descriptor.java.AbstractTypeDescriptor<T>
     ↳ org.hibernate.type.descriptor.java.JdbcTimeTypeDescriptor

Class Overview

TODO : javadoc

Summary

Nested Classes
class JdbcTimeTypeDescriptor.TimeMutabilityPlan  
Constants
String TIME_FORMAT
Fields
public static final JdbcTimeTypeDescriptor INSTANCE
Public Constructors
JdbcTimeTypeDescriptor()
Public Methods
boolean areEqual(Date one, Date another)
Determine if two instances are equal
int extractHashCode(Date value)
Extract a proper hash code for this value.
Date fromString(String string)
String toString(Date value)
<X> X unwrap(Date value, Class<X> type, WrapperOptions options)
<X> Date wrap(X value, WrapperOptions options)
[Expand]
Inherited Methods
From class org.hibernate.type.descriptor.java.AbstractTypeDescriptor
From class java.lang.Object
From interface org.hibernate.type.descriptor.java.JavaTypeDescriptor

Constants

public static final String TIME_FORMAT

Constant Value: "HH:mm:ss"

Fields

public static final JdbcTimeTypeDescriptor INSTANCE

Public Constructors

public JdbcTimeTypeDescriptor ()

Public Methods

public boolean areEqual (Date one, Date another)

Determine if two instances are equal

Parameters
one One instance
another The other instance
Returns
  • True if the two are considered equal; false otherwise.

public int extractHashCode (Date value)

Extract a proper hash code for this value.

Parameters
value The value for which to extract a hash code.
Returns
  • The extracted hash code.

public Date fromString (String string)

public String toString (Date value)

public X unwrap (Date value, Class<X> type, WrapperOptions options)

public Date wrap (X value, WrapperOptions options)