public class

JdbcDateTypeDescriptor

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

Class Overview

TODO : javadoc

Summary

Nested Classes
class JdbcDateTypeDescriptor.DateMutabilityPlan  
Constants
String DATE_FORMAT
Fields
public static final JdbcDateTypeDescriptor INSTANCE
Public Constructors
JdbcDateTypeDescriptor()
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 DATE_FORMAT

Constant Value: "dd MMMM yyyy"

Fields

public static final JdbcDateTypeDescriptor INSTANCE

Public Constructors

public JdbcDateTypeDescriptor ()

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)