|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 objects. |
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, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, extract, extract, fromString, fromStringValue, fromXMLNode, fromXMLString, 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, registerUnderJavaType, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setJavaTypeDescriptor, setSqlTypeDescriptor, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLString |
| 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, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getName, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, 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 objects.
sqlTypeDescriptor - the SqlTypeDescriptor to be usedjavaTypeDescriptor - the JavaTypeDescriptor to be used
protected 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 | |||||||||