Package org.hibernate.type
Class DbTimestampType
- java.lang.Object
-
- org.hibernate.type.AbstractStandardBasicType<T>
-
- org.hibernate.type.AbstractSingleColumnStandardBasicType<Date>
-
- org.hibernate.type.DbTimestampType
-
- All Implemented Interfaces:
jakarta.persistence.metamodel.BasicType<Date>
,jakarta.persistence.metamodel.Type<Date>
,Serializable
,BasicValuedMapping
,Bindable
,JdbcMapping
,JdbcMappingContainer
,MappingModelExpressible
,MappingType
,SqlExpressible
,ValueMapping
,BasicDomainType<Date>
,DomainType<Date>
,SimpleDomainType<Date>
,BindableType<Date>
,OutputableType<Date>
,ReturnableType<Date>
,SqmExpressible<Date>
,BasicType<Date>
,JavaTypedExpressible
,ProcedureParameterExtractionAware<Date>
,ProcedureParameterNamedBinder<Date>
,Type
@Deprecated public class DbTimestampType extends AbstractSingleColumnStandardBasicType<Date>
Deprecated.UseValueGeneration
insteaddbtimestamp
: A type that maps betweenTIMESTAMP
andTimestamp
. It 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...- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesConsumer
-
-
Field Summary
Fields Modifier and Type Field Description static DbTimestampType
INSTANCE
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getName()
Deprecated.Returns the abbreviated name of the type.String[]
getRegistrationKeys()
Deprecated.Get the names under which this type should be registered in the type registry.-
Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSet
-
Methods inherited from class org.hibernate.type.AbstractStandardBasicType
assemble, beforeAssemble, canDoExtraction, canDoSetting, compare, deepCopy, deepCopy, disassemble, extract, extract, fromString, getCastType, getColumnSpan, getHashCode, getHashCode, getJavaType, getJavaTypeDescriptor, getJdbcLiteralFormatter, getJdbcType, getJdbcValueBinder, getJdbcValueExtractor, getMutabilityPlan, getReturnedClass, getSqlTypeCodes, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeSet, registerUnderJavaType, replace, replace, toColumnNullness, toLoggableString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.model.domain.BasicDomainType
areEqual, getPersistenceType
-
Methods inherited from interface org.hibernate.type.BasicType
disassemble, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcType, getExpressibleJavaType, getJdbcMapping, getJdbcMappings, getJdbcTypeCount, getMappedJavaType, getMappedType, getValueConverter
-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue
-
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTypeName
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMapping
getJdbcJavaType
-
Methods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, disassemble, disassemble, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSqlTypeCodes, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, replace, replace, toColumnNullness, toLoggableString
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
-
-
-
-
Field Detail
-
INSTANCE
public static final DbTimestampType INSTANCE
Deprecated.
-
-
Method Detail
-
getName
public String getName()
Deprecated.Description copied from interface:Type
Returns the abbreviated name of the type.- Returns:
- String the Hibernate type name
-
getRegistrationKeys
public String[] getRegistrationKeys()
Deprecated.Description copied from interface:BasicType
Get the names under which this type should be registered in the type registry.- Specified by:
getRegistrationKeys
in interfaceBasicType<Date>
- Overrides:
getRegistrationKeys
in classAbstractStandardBasicType<Date>
- Returns:
- The keys under which to register this type.
-
-