Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.internal | |
org.hibernate.boot.model | |
org.hibernate.boot.spi | |
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.envers.internal.entities | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
org.hibernate.usertype |
Interfaces for user-defined custom types.
|
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
MetadataBuilder.applyBasicType(UserType type,
String... keys)
Register an additional or overridden custom type mapping.
|
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
MetadataBuilderImpl.applyBasicType(UserType type,
String... keys) |
void |
MetadataBuilderImpl.contributeType(UserType type,
String[] keys) |
Modifier and Type | Method and Description |
---|---|
void |
TypeContributions.contributeType(UserType type,
String... keys)
Deprecated.
(since 5.3) Use
TypeContributions.contributeType(BasicType) instead.
UserType , as currently defined, will be done very differently in 6.0.
In most cases a UserType can be simply replaced with proper
JavaTypeDescriptor . To get as close as possible to 6.0 in 5.3 use
existing JavaTypeDescriptor and SqlTypeDescriptor
implementations (or write your own for custom impls) and use
StandardBasicTypeTemplate to combine those with registration keys
and call TypeContributions.contributeType(BasicType) instead |
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyBasicType(UserType type,
String... keys) |
Constructor and Description |
---|
BasicTypeRegistration(UserType type,
String[] keys) |
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.registerTypeOverride(UserType type,
String[] keys) |
Modifier and Type | Class and Description |
---|---|
class |
RevisionTypeType
A hibernate type for the
RevisionType enum. |
Modifier and Type | Class and Description |
---|---|
class |
EnumType<T extends Enum>
Value type mapper for enumerations.
|
Modifier and Type | Method and Description |
---|---|
UserType |
CustomType.getUserType() |
Modifier and Type | Method and Description |
---|---|
void |
BasicTypeRegistry.register(UserType type,
String[] keys) |
void |
TypeResolver.registerTypeOverride(UserType type,
String[] keys)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CustomType |
TypeFactory.custom(Class<UserType> typeClass,
Properties parameters)
Deprecated.
|
static CustomType |
TypeFactory.custom(Class<UserType> typeClass,
Properties parameters,
TypeFactory.TypeScope scope)
Deprecated.
Only for use temporary use by
Hibernate |
Constructor and Description |
---|
CustomType(UserType userType) |
CustomType(UserType userType,
String[] registrationKeys) |
Modifier and Type | Interface and Description |
---|---|
interface |
EnhancedUserType
A custom type that may function as an identifier or discriminator type
|
interface |
UserVersionType
A user type that may be used for a version property
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.