public class

JdbcTimestampTypeDescriptor

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

Class Overview

TODO : javadoc

Summary

Nested Classes
class JdbcTimestampTypeDescriptor.TimestampMutabilityPlan  
Constants
String TIMESTAMP_FORMAT
Fields
public static final JdbcTimestampTypeDescriptor INSTANCE
Public Constructors
JdbcTimestampTypeDescriptor()
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 TIMESTAMP_FORMAT

Constant Value: "yyyy-MM-dd HH:mm:ss"

Fields

public static final JdbcTimestampTypeDescriptor INSTANCE

Public Constructors

public JdbcTimestampTypeDescriptor ()

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)