|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.type.AbstractStandardBasicType<T> org.hibernate.type.AbstractSingleColumnStandardBasicType<T> com.vladmihalcea.hibernate.type.AbstractHibernateType<T>
public abstract class AbstractHibernateType<T>
Very convenient base class for implementing object types using Hibernate Java and SQL descriptors.
Constructor Summary | |
---|---|
protected |
AbstractHibernateType(org.hibernate.type.descriptor.sql.SqlTypeDescriptor sqlTypeDescriptor,
org.hibernate.type.descriptor.java.JavaTypeDescriptor<T> javaTypeDescriptor)
Initialization constructor taking the SqlTypeDescriptor and JavaTypeDescriptor objects,
and using the default Configuration object. |
protected |
AbstractHibernateType(org.hibernate.type.descriptor.sql.SqlTypeDescriptor sqlTypeDescriptor,
org.hibernate.type.descriptor.java.JavaTypeDescriptor<T> javaTypeDescriptor,
Configuration configuration)
Initialization constructor taking the SqlTypeDescriptor , JavaTypeDescriptor ,
and Configuration objects. |
Method Summary | |
---|---|
protected Configuration |
getConfiguration()
Get the current Configuration object. |
Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType |
---|
nullSafeSet, sqlType |
Methods inherited from class org.hibernate.type.AbstractStandardBasicType |
---|
assemble, beforeAssemble, canDoExtraction, canDoSetting, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, extract, extract, fromString, fromStringValue, get, getColumnSpan, getDefaultSize, getDictatedSize, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getRegistrationKeys, 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, nullSafeSet, nullSafeSet, registerUnderJavaType, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setJavaTypeDescriptor, setSqlTypeDescriptor, sqlTypes, toColumnNullness, toLoggableString, toString |
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.SingleColumnType |
---|
fromStringValue, get, nullSafeGet, set, toString |
Methods inherited from interface org.hibernate.type.Type |
---|
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, getColumnSpan, getHashCode, getHashCode, getName, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeGet, nullSafeGet, nullSafeSet, replace, replace, resolve, semiResolve, sqlTypes, toColumnNullness, toLoggableString |
Constructor Detail |
---|
protected AbstractHibernateType(org.hibernate.type.descriptor.sql.SqlTypeDescriptor sqlTypeDescriptor, org.hibernate.type.descriptor.java.JavaTypeDescriptor<T> javaTypeDescriptor)
SqlTypeDescriptor
and JavaTypeDescriptor
objects,
and using the default Configuration
object.
sqlTypeDescriptor
- the SqlTypeDescriptor
to be usedjavaTypeDescriptor
- the JavaTypeDescriptor
to be usedprotected AbstractHibernateType(org.hibernate.type.descriptor.sql.SqlTypeDescriptor sqlTypeDescriptor, org.hibernate.type.descriptor.java.JavaTypeDescriptor<T> javaTypeDescriptor, Configuration configuration)
SqlTypeDescriptor
, JavaTypeDescriptor
,
and Configuration
objects.
sqlTypeDescriptor
- the SqlTypeDescriptor
to be usedjavaTypeDescriptor
- the JavaTypeDescriptor
to be usedconfiguration
- custom Configuration
object.Method Detail |
---|
protected Configuration getConfiguration()
Configuration
object.
Configuration
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |