public class DbTimestampType extends TimestampType
TimestampType which
 maps to the database's current timestamp, rather than the jvm's
 current timestamp.
 
 Note: May/may-not cause issues on dialects which do not properly support
 a true notion of timestamp (Oracle < 8, for example, where only its DATE
 datatype is supported).  Depends on the frequency of DML operations...| Modifier and Type | Field and Description | 
|---|---|
static DbTimestampType | 
INSTANCE  | 
| Constructor and Description | 
|---|
DbTimestampType()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getName()
Returns the abbreviated name of the type. 
 | 
String[] | 
getRegistrationKeys()
Get the names under which this type should be registered in the type registry. 
 | 
Date | 
seed(SessionImplementor session)
Generate an initial version. 
 | 
fromStringValue, getComparator, next, objectToSQLStringnullSafeSet, sqlTypeassemble, beforeAssemble, canDoExtraction, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, extract, extract, fromString, fromXMLNode, fromXMLString, get, getColumnSpan, getDefaultSize, getDictatedSize, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, registerUnderJavaType, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setJavaTypeDescriptor, setSqlTypeDescriptor, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableStringget, nullSafeGet, set, toStringpublic static final DbTimestampType INSTANCE
public String getName()
TypegetName in interface TypegetName in class TimestampTypepublic String[] getRegistrationKeys()
BasicTypegetRegistrationKeys in interface BasicTypegetRegistrationKeys in class TimestampTypepublic Date seed(SessionImplementor session)
VersionTypeseed in interface VersionType<Date>seed in class TimestampTypesession - The session from which this request originates.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.