Package org.hibernate.usertype
An API for user-defined custom types which extend the set of built-in
types defined in
org.hibernate.type.
A custom type might map a single column, or it might map multiple columns.
- See Also:
UserType,CompositeUserType,org.hibernate.type- API Note:
- Historically,
UserTypewas the most important extension point in Hibernate, andCompositeUserTypewas much less popular. But in modern Hibernate, the terrain formerly occupied byUserTypehas been encroached, first byAttributeConverter, and then by the new "compositional" approach to basic types. Contrariwise,CompositeUserTypehas been redesigned and is now more powerful and much easier to use.
-
Interface Summary Interface Description CompositeUserType<J> This interface should be implemented by user-defined custom types that have persistent attributes and can be thought of as something more like an embeddable object.DynamicParameterizedType Types which implement this interface will haveParameterizedType.setParameterValues(Properties)called with an instance of the classDynamicParameterizedType.ParameterTypeinstead of the key "org.hibernate.type.ParameterType".DynamicParameterizedType.ParameterType EnhancedUserType<J> A custom type that may function as an identifier or discriminator typeLoggableUserType Marker interface for user types which want to perform custom logging of their corresponding valuesParameterizedType Support for parameterizable types.UserCollectionType A custom type for mapping user-written classes which implementPersistentCollection.UserType<J> This interface should be implemented by user-defined custom types that extend the set of types defined inorg.hibernate.type.UserVersionType<T> A user type that may be used for a version property -
Class Summary Class Description BaseUserTypeSupport<T> StaticUserTypeSupport<T> UserTypeLegacyBridge ConvenienceUserTypeimplementation which mimics the legacy@Typeannotation which was based on thehbm.xmlmapping's string-based type support.UserTypeSupport<T>