org.hibernate.type
Class PostgresUUIDType

java.lang.Object
  extended by org.hibernate.type.AbstractStandardBasicType<T>
      extended by org.hibernate.type.AbstractSingleColumnStandardBasicType<UUID>
          extended by org.hibernate.type.PostgresUUIDType
All Implemented Interfaces:
Serializable, BasicType, SingleColumnType<UUID>, StringRepresentableType<UUID>, Type, XmlRepresentableType<UUID>

public class PostgresUUIDType
extends AbstractSingleColumnStandardBasicType<UUID>

Specialized type mapping for UUID and the Postgres UUID data type (which is mapped as OTHER in its JDBC driver).

Author:
Steve Ebersole, David Driscoll
See Also:
Serialized Form

Nested Class Summary
static class PostgresUUIDType.PostgresUUIDSqlTypeDescriptor
           
 
Field Summary
static PostgresUUIDType INSTANCE
           
 
Constructor Summary
PostgresUUIDType()
           
 
Method Summary
 String getName()
          Returns the abbreviated name of the type.
 
Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
get, nullSafeGet, nullSafeSet, nullSafeSet, set, sqlType
 
Methods inherited from class org.hibernate.type.AbstractStandardBasicType
assemble, beforeAssemble, compare, deepCopy, deepCopy, disassemble, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getHashCode, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getRegistrationKeys, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isEqual, isModified, isMutable, isSame, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, registerUnderJavaType, replace, replace, resolve, semiResolve, set, 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, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, 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
 

Field Detail

INSTANCE

public static final PostgresUUIDType INSTANCE
Constructor Detail

PostgresUUIDType

public PostgresUUIDType()
Method Detail

getName

public String getName()
Description copied from interface: Type
Returns the abbreviated name of the type.

Returns:
String the Hibernate type name


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.