Java org.hibernate.type Type fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.type Type fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.type Type.

The text is from its open source code.

Implementation

org.hibernate.type.Type has the following implementations.
Click this link to see all its implementation.

Method

Serializabledisassemble(Object value, SharedSessionContractImplementor session, Object owner)
Return a disassembled representation of the object.
intgetColumnSpan(Mapping mapping)
How many columns are used to persist this type.
intgetHashCode(Object x, SessionFactoryImplementor factory)
Get a hash code, consistent with persistence "equality".
StringgetName()
Returns the abbreviated name of the type.
ClassgetReturnedClass()
The class returned by #nullSafeGet methods.
TypegetSemiResolvedType(SessionFactoryImplementor factory)
As part of 2-phase loading, when we perform resolving what is the resolved type for this type?
booleanisAnyType()
Return true if the implementation is castable to AnyType .
booleanisAssociationType()
Return true if the implementation is castable to AssociationType .
booleanisCollectionType()
Return true if the implementation is castable to CollectionType .
booleanisComponentType()
Return true if the implementation is castable to CompositeType .
booleanisDirty(Object old, Object current, SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?
booleanisEntityType()
Return true if the implementation is castable to EntityType .
booleanisModified(Object dbState, Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
Has the value been modified compared to the current database state?
Objectreplace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)
During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.
int[]sqlTypes(Mapping mapping)
Return the JDBC types codes (per java.sql.Types ) for the columns mapped by this type.