|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.type.AbstractType org.hibernate.type.NullableType org.hibernate.type.MutableType org.hibernate.type.TimestampType org.hibernate.type.DbTimestampType
public class DbTimestampType
dbtimestamp: An extension of TimestampType
which
maps to the database's current timestamp, rather than the jvm's
current timestamp.
Constructor Summary | |
---|---|
DbTimestampType()
|
Method Summary | |
---|---|
String |
getName()
Returns the abbreviated name of the type. |
Object |
seed(SessionImplementor session)
Generate an initial version. |
Methods inherited from class org.hibernate.type.TimestampType |
---|
deepCopyNotNull, fromStringValue, get, getComparator, getHashCode, getReturnedClass, isEqual, next, objectToSQLString, set, sqlType, toString |
Methods inherited from class org.hibernate.type.MutableType |
---|
deepCopy, isMutable, replace |
Methods inherited from class org.hibernate.type.NullableType |
---|
fromXMLNode, fromXMLString, getColumnSpan, isDirty, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLString |
Methods inherited from class org.hibernate.type.AbstractType |
---|
assemble, beforeAssemble, compare, disassemble, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hibernate.type.VersionType |
---|
getComparator, isEqual, next |
Methods inherited from interface org.hibernate.type.Type |
---|
assemble, beforeAssemble, compare, deepCopy, 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, toLoggableString |
Constructor Detail |
---|
public DbTimestampType()
Method Detail |
---|
public String getName()
Type
getName
in interface Type
getName
in class TimestampType
public Object seed(SessionImplementor session)
VersionType
seed
in interface VersionType
seed
in class TimestampType
session
- The session from which this request originates.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |