Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
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.id |
This package contains internal implementation classes for the
main API interfaces.
|
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.query.internal | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
org.hibernate.type.descriptor.converter |
Support for handling JPA
AttributeConverter instances as part of the
Hibernate Type system. |
Modifier and Type | Method and Description |
---|---|
BasicType |
TypeHelper.basic(Class javaType)
Convenience form of
TypeHelper.basic(String) . |
BasicType |
TypeHelper.basic(String name)
Retrieve the basic type registered against the given name.
|
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
MetadataBuilder.applyBasicType(BasicType type)
Specify an additional or overridden basic type mapping.
|
MetadataBuilder |
MetadataBuilder.applyBasicType(BasicType type,
String... keys)
Specify an additional or overridden basic type mapping supplying specific
registration keys.
|
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
MetadataBuilderImpl.applyBasicType(BasicType type) |
MetadataBuilder |
MetadataBuilderImpl.applyBasicType(BasicType type,
String... keys) |
void |
MetadataBuilderImpl.contributeType(BasicType type) |
void |
MetadataBuilderImpl.contributeType(BasicType type,
String... keys) |
Modifier and Type | Method and Description |
---|---|
void |
TypeContributions.contributeType(BasicType type) |
void |
TypeContributions.contributeType(BasicType type,
String... keys)
Deprecated.
(since 5.3) Use
TypeContributions.contributeType(BasicType) instead. Basic
types will be defined and handled much differently in 6.0 based on a combination
of JavaTypeDescriptor , SqlTypeDescriptor and a concept of a "value
converter" (a JPA AttributeConverter, an enum value resolver, etc). To get as
close as possible in 5.3 use existing JavaTypeDescriptor and
SqlTypeDescriptor implementations (or write your own for custom types)
and use StandardBasicTypeTemplate to combine those with
registration keys and call TypeContributions.contributeType(BasicType) instead |
Modifier and Type | Method and Description |
---|---|
BasicType |
BasicTypeRegistration.getBasicType() |
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyBasicType(BasicType type) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyBasicType(BasicType type,
String... keys) |
Constructor and Description |
---|
BasicTypeRegistration(BasicType basicType) |
BasicTypeRegistration(BasicType basicType,
String[] registrationKeys) |
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.registerTypeOverride(BasicType type)
Allows registration of a type into the type registry.
|
Constructor and Description |
---|
ExportableColumn(Database database,
Table table,
String name,
BasicType type) |
ExportableColumn(Database database,
Table table,
String name,
BasicType type,
String dbTypeDeclaration) |
ValueImpl(ExportableColumn column,
Table table,
BasicType type,
Database database) |
Modifier and Type | Method and Description |
---|---|
BasicType |
TypeLocatorImpl.basic(Class javaType) |
BasicType |
TypeLocatorImpl.basic(String name) |
Modifier and Type | Method and Description |
---|---|
void |
CoreMessageLogger.typeDefinedNoRegistrationKeys(BasicType type) |
Modifier and Type | Method and Description |
---|---|
BasicType |
BindingTypeHelper.determineTypeForTemporalType(TemporalType temporalType,
Type baseType,
Object bindValue) |
BasicType |
BindingTypeHelper.resolveDateTemporalTypeVariant(Class javaType,
Type baseType) |
BasicType |
BindingTypeHelper.resolveTimestampTemporalTypeVariant(Class javaType,
Type baseType) |
BasicType |
BindingTypeHelper.resolveTimeTemporalTypeVariant(Class javaType,
Type baseType) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSingleColumnStandardBasicType<T>
TODO : javadoc
|
class |
AbstractStandardBasicType<T>
Convenience base class for
BasicType implementations |
class |
AdaptedImmutableType<T>
Optimize a mutable type, if the user promises not to mutable the
instances.
|
class |
BigDecimalType
A type that maps between a
NUMERIC and BigDecimal . |
class |
BigIntegerType
A type that maps between a
NUMERIC and BigInteger . |
class |
BinaryType
A type that maps between a
VARBINARY and byte[]
Implementation of the VersionType interface should be considered deprecated. |
class |
BlobType
|
class |
BooleanType
|
class |
ByteType
|
class |
CalendarDateType
|
class |
CalendarTimeType
|
class |
CalendarType
|
class |
CharacterArrayClobType
A type that maps between
CLOB and Character[]
Essentially a MaterializedClobType but represented as a Character[] in Java rather than String. |
class |
CharacterArrayNClobType
A type that maps between
NCLOB and Character[]
Essentially a MaterializedNClobType but represented as a Character[] in Java rather than String. |
class |
CharacterArrayType
A type that maps between
VARCHAR and Character[] |
class |
CharacterNCharType
|
class |
CharacterType
|
class |
CharArrayType
A type that maps between
VARCHAR and char[] |
class |
ClassType
|
class |
ClobType
|
class |
CompositeCustomType
Adapts
CompositeUserType to the Type interface |
class |
CurrencyType
|
class |
CustomType
|
class |
DateType
|
class |
DbTimestampType
dbtimestamp: An extension of
TimestampType which
maps to the database's current timestamp, rather than the jvm's
current timestamp. |
class |
DoubleType
|
class |
DurationType |
class |
FloatType
|
class |
ImageType
A type that maps between
LONGVARBINARY and byte[] |
class |
InstantType
A type that maps between
TIMESTAMP and LocalDateTime . |
class |
IntegerType
A type that maps between
INTEGER and @link Integer} |
class |
LocalDateTimeType
A type that maps between
TIMESTAMP and LocalDateTime . |
class |
LocalDateType |
class |
LocaleType
A type that maps between
VARCHAR and @link Locale} |
class |
LocalTimeType
A type that maps between
TIMESTAMP and LocalDateTime . |
class |
LongType
|
class |
MaterializedBlobType
A type that maps between
BLOB and byte[] |
class |
MaterializedClobType
|
class |
MaterializedNClobType
|
class |
NClobType
|
class |
NTextType
A type that maps between
LONGNVARCHAR and String |
class |
NumericBooleanType
|
class |
ObjectType
Specific adaptation of the "any" type to the old deprecated "object" type
|
class |
OffsetDateTimeType |
class |
OffsetTimeType |
class |
PostgresUUIDType
Specialized type mapping for
UUID and the Postgres UUID data type (which is mapped as OTHER in its
JDBC driver). |
class |
PrimitiveCharacterArrayClobType
Map a char[] to a Clob
|
class |
PrimitiveCharacterArrayNClobType
Map a char[] to a NClob
|
class |
RowVersionType
A type that maps between a
VARBINARY and byte[]
specifically for entity versions/timestamps. |
class |
SerializableToBlobType<T extends Serializable> |
class |
SerializableType<T extends Serializable>
A type that maps between a
VARBINARY and Serializable classes. |
class |
ShortType
|
class |
StandardBasicTypeTemplate<J>
A BasicType adapter targeting partial portability to 6.0's type
system changes.
|
class |
StringNVarcharType
|
class |
StringType
|
class |
TextType
A type that maps between
LONGVARCHAR and String |
class |
TimestampType
|
class |
TimeType
|
class |
TimeZoneType
|
class |
TrueFalseType
|
class |
UrlType
|
class |
UUIDBinaryType
A type mapping
Types.BINARY and UUID |
class |
UUIDCharType
|
class |
WrappedMaterializedBlobType
A type that maps JDBC
BLOB and Byte[] . |
class |
WrapperBinaryType
|
class |
YesNoType
|
class |
ZonedDateTimeType |
Modifier and Type | Method and Description |
---|---|
BasicType |
TypeResolver.basic(String name)
Deprecated.
Locate a Hibernate basic type given (one of) its registration names.
|
BasicType |
BasicTypeRegistry.getRegisteredType(String key) |
Modifier and Type | Method and Description |
---|---|
void |
BasicTypeRegistry.register(BasicType type) |
void |
BasicTypeRegistry.register(BasicType type,
String[] keys) |
void |
TypeResolver.registerTypeOverride(BasicType type)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeConverterTypeAdapter<T>
Adapts the Hibernate Type contract to incorporate JPA AttributeConverter calls.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.