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.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.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(java.lang.Class javaType)
Convenience form of
TypeHelper.basic(String) . |
BasicType |
TypeHelper.basic(java.lang.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,
java.lang.String... keys)
Specify an additional or overridden basic type mapping supplying specific
registration keys.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeContributions.contributeType(BasicType type) |
void |
TypeContributions.contributeType(BasicType type,
java.lang.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,
java.lang.String... keys) |
Constructor and Description |
---|
BasicTypeRegistration(BasicType basicType) |
BasicTypeRegistration(BasicType basicType,
java.lang.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,
java.lang.String name,
BasicType type) |
ExportableColumn(Database database,
Table table,
java.lang.String name,
BasicType type,
java.lang.String dbTypeDeclaration) |
ValueImpl(ExportableColumn column,
Table table,
BasicType type,
Database database) |
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
A type that maps between
BLOB and Blob |
class |
BooleanType
A type that maps between
BOOLEAN and Boolean |
class |
ByteType
A type that maps between
TINYINT and Byte |
class |
CalendarDateType
A type mapping
DATE and Calendar |
class |
CalendarTimeType
A type mapping
TIME and Calendar . |
class |
CalendarType
A type that maps between
TIMESTAMP and Calendar |
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
A type that maps between
NCHAR(1) and Character |
class |
CharacterType
A type that maps between
CHAR(1) and Character |
class |
CharArrayType
A type that maps between
VARCHAR and char[] |
class |
ClassType
A type that maps between
VARCHAR and Class |
class |
ClobType
A type that maps between
CLOB and Clob |
class |
CompositeCustomType
Adapts
CompositeUserType to the Type interface |
class |
CurrencyType
A type that maps between
VARCHAR and Currency |
class |
CustomType
|
class |
DateType
A type that maps between
DATE and Date |
class |
DbTimestampType
dbtimestamp: An extension of
TimestampType which
maps to the database's current timestamp, rather than the jvm's
current timestamp. |
class |
DoubleType
A type that maps between
DOUBLE and Double |
class |
DurationType |
class |
FloatType
A type that maps between
FLOAT and Float |
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
A type that maps between
BIGINT and Long |
class |
MaterializedBlobType
A type that maps between
BLOB and byte[] |
class |
MaterializedClobType
A type that maps between
CLOB and String |
class |
MaterializedNClobType
A type that maps between
CLOB and String |
class |
NClobType
A type that maps between
NCLOB and NClob |
class |
NTextType
A type that maps between
LONGNVARCHAR and String |
class |
NumericBooleanType
A type that maps between
INTEGER and Boolean (using 1 and 0) |
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 java.io.Serializable> |
class |
SerializableType<T extends java.io.Serializable>
A type that maps between a
VARBINARY and Serializable classes. |
class |
ShortType
A type that maps between
SMALLINT and Short |
class |
StandardBasicTypeTemplate<J>
A BasicType adapter targeting partial portability to 6.0's type
system changes.
|
class |
StringNVarcharType
A type that maps between
VARCHAR and String |
class |
StringType
A type that maps between
VARCHAR and String |
class |
TextType
A type that maps between
LONGVARCHAR and String |
class |
TimestampType
A type that maps between
TIMESTAMP and Timestamp |
class |
TimeType
A type that maps between
TIME and Time |
class |
TimeZoneType
A type mapping
VARCHAR and TimeZone |
class |
TrueFalseType
A type that maps between
CHAR(1) and Boolean (using 'T' and 'F') |
class |
UrlType
A type that maps between
VARCHAR and URL |
class |
UUIDBinaryType
A type mapping
Types.BINARY and UUID |
class |
UUIDCharType
A type mapping
Types.CHAR (or Types.VARCHAR ) and UUID |
class |
WrappedMaterializedBlobType
A type that maps JDBC
BLOB and Byte[] . |
class |
WrapperBinaryType
A type mapping
VARBINARY and Byte[] |
class |
YesNoType
A type that maps between
CHAR(1) and Boolean (using 'Y' and 'N') |
class |
ZonedDateTimeType |
Modifier and Type | Method and Description |
---|---|
BasicType |
TypeResolver.basic(java.lang.String name)
Deprecated.
Locate a Hibernate basic type given (one of) its registration names.
|
BasicType |
BasicTypeRegistry.getRegisteredType(java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
void |
BasicTypeRegistry.register(BasicType type) |
void |
BasicTypeRegistry.register(BasicType type,
java.lang.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 © 2001-2019 Red Hat, Inc. All Rights Reserved.