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.spi | |
org.hibernate.dialect.function |
A framework for defining database-specific SQL functions
that are available via the dialect.
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.spi | |
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.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Metadata
Represents the ORM model as determined from all provided mapping sources.
|
Modifier and Type | Class and Description |
---|---|
class |
InFlightMetadataCollectorImpl
The implementation of the in-flight Metadata collector contract.
|
class |
MetadataImpl
Container for configuration data collected during binding the metamodel.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InFlightMetadataCollector
An in-flight representation of Metadata while Metadata is being built.
|
interface |
MetadataImplementor
The SPI-level Metadata contract.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDelegatingMetadata
Convenience base class for custom implementors of
MetadataImplementor using delegation. |
Modifier and Type | Method and Description |
---|---|
protected int |
StandardAnsiSqlAggregationFunctions.SumFunction.determineJdbcTypeCode(Type type,
Mapping mapping) |
Type |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
StandardSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
StandardAnsiSqlAggregationFunctions.SumFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping) |
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
NoArgSQLFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
CharIndexFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
CastFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
Modifier and Type | Method and Description |
---|---|
static String[] |
JoinHelper.getAliasedLHSColumnNames(AssociationType associationType,
String columnQualifier,
int propertyIndex,
int begin,
OuterJoinLoadable lhsPersister,
Mapping mapping)
Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the join
|
static String[] |
JoinHelper.getAliasedLHSColumnNames(AssociationType type,
String alias,
int property,
OuterJoinLoadable lhsPersister,
Mapping mapping)
Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the join
|
static String[] |
JoinHelper.getLHSColumnNames(AssociationType type,
int property,
int begin,
OuterJoinLoadable lhsPersister,
Mapping mapping)
Get the columns of the owning entity which are to be used in the join
|
static String[] |
JoinHelper.getLHSColumnNames(AssociationType type,
int property,
OuterJoinLoadable lhsPersister,
Mapping mapping)
Get the unqualified names of the columns of the owning entity which are to be used in the join.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SessionFactoryImplementor
Defines the internal contract between the SessionFactory and other parts of
Hibernate such as implementors of Type.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionFactoryDelegatingImpl
Base delegating implementation of the SessionFactory and SessionFactoryImplementor
contracts for intended for easier implementation of SessionFactory.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ExportableColumn.ValueImpl.isValid(Mapping mapping) |
Modifier and Type | Class and Description |
---|---|
class |
SessionFactoryImpl
Concrete implementation of the SessionFactory interface.
|
Modifier and Type | Method and Description |
---|---|
String |
Column.getSqlType(Dialect dialect,
Mapping mapping) |
int |
Column.getSqlTypeCode(Mapping mapping) |
boolean |
Value.isValid(Mapping mapping) |
boolean |
ToOne.isValid(Mapping mapping) |
boolean |
SimpleValue.isValid(Mapping mapping) |
boolean |
Property.isValid(Mapping mapping) |
boolean |
OneToMany.isValid(Mapping mapping) |
boolean |
Collection.isValid(Mapping mapping) |
Iterator |
Table.sqlAlterStrings(Dialect dialect,
Mapping p,
TableInformation tableInfo,
String defaultCatalog,
String defaultSchema) |
String |
UniqueKey.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
Table.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
RelationalModel.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
Index.sqlCreateString(Dialect dialect,
Mapping mapping,
String defaultCatalog,
String defaultSchema) |
String |
Constraint.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
void |
UnionSubclass.validate(Mapping mapping) |
void |
SingleTableSubclass.validate(Mapping mapping) |
void |
Set.validate(Mapping mapping) |
void |
RootClass.validate(Mapping mapping) |
void |
PersistentClass.validate(Mapping mapping) |
void |
JoinedSubclass.validate(Mapping mapping) |
void |
IndexedCollection.validate(Mapping mapping) |
void |
IdentifierCollection.validate(Mapping mapping) |
void |
Collection.validate(Mapping mapping) |
void |
Table.validateColumns(Dialect dialect,
Mapping mapping,
TableMetadata tableInfo) |
Constructor and Description |
---|
CompositeElementPropertyMapping(String[] elementColumns,
String[] elementColumnReaders,
String[] elementColumnReaderTemplates,
String[] elementFormulaTemplates,
CompositeType compositeType,
Mapping factory) |
Modifier and Type | Method and Description |
---|---|
Size[] |
DiscriminatorType.defaultSizes(Mapping mapping) |
Size[] |
DiscriminatorType.dictatedSizes(Mapping mapping) |
protected String |
UnionSubclassEntityPersister.generateSubquery(PersistentClass model,
Mapping mapping) |
int |
DiscriminatorType.getColumnSpan(Mapping mapping) |
protected void |
AbstractPropertyMapping.initComponentPropertyPaths(String path,
CompositeType type,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
String[] formulaTemplates,
Mapping factory) |
protected void |
AbstractPropertyMapping.initIdentifierPropertyPaths(String path,
EntityType etype,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
Mapping factory) |
protected void |
AbstractEntityPersister.initPropertyPaths(Mapping mapping) |
protected void |
AbstractPropertyMapping.initPropertyPaths(String path,
Type type,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
String[] formulaTemplates,
Mapping factory) |
protected void |
AbstractEntityPersister.postConstruct(Mapping mapping)
Post-construct is a callback for AbstractEntityPersister subclasses to call after they are all done with their
constructor processing.
|
int[] |
DiscriminatorType.sqlTypes(Mapping mapping) |
boolean[] |
DiscriminatorType.toColumnNullness(Object value,
Mapping mapping) |
Modifier and Type | Method and Description |
---|---|
Size[] |
Type.defaultSizes(Mapping mapping)
Defines the column sizes to use according to this type if the user did not explicitly say (and if no
Type.dictatedSizes(org.hibernate.engine.spi.Mapping) were given). |
Size[] |
SpecialOneToOneType.defaultSizes(Mapping mapping) |
Size[] |
OneToOneType.defaultSizes(Mapping mapping) |
Size[] |
MetaType.defaultSizes(Mapping mapping) |
Size[] |
ManyToOneType.defaultSizes(Mapping mapping) |
Size[] |
CustomType.defaultSizes(Mapping mapping) |
Size[] |
CompositeCustomType.defaultSizes(Mapping mapping) |
Size[] |
ComponentType.defaultSizes(Mapping mapping) |
Size[] |
CollectionType.defaultSizes(Mapping mapping) |
Size[] |
AnyType.defaultSizes(Mapping mapping) |
Size[] |
AbstractStandardBasicType.defaultSizes(Mapping mapping) |
Size[] |
Type.dictatedSizes(Mapping mapping)
Return the column sizes dictated by this type.
|
Size[] |
SpecialOneToOneType.dictatedSizes(Mapping mapping) |
Size[] |
OneToOneType.dictatedSizes(Mapping mapping) |
Size[] |
MetaType.dictatedSizes(Mapping mapping) |
Size[] |
ManyToOneType.dictatedSizes(Mapping mapping) |
Size[] |
CustomType.dictatedSizes(Mapping mapping) |
Size[] |
CompositeCustomType.dictatedSizes(Mapping mapping) |
Size[] |
ComponentType.dictatedSizes(Mapping mapping) |
Size[] |
CollectionType.dictatedSizes(Mapping mapping) |
Size[] |
AnyType.dictatedSizes(Mapping mapping) |
Size[] |
AbstractStandardBasicType.dictatedSizes(Mapping mapping) |
Object |
MetaType.fromXMLString(String xml,
Mapping factory) |
Object |
CustomType.fromXMLString(String xml,
Mapping factory) |
int |
Type.getColumnSpan(Mapping mapping)
How many columns are used to persist this type.
|
int |
SpecialOneToOneType.getColumnSpan(Mapping mapping) |
int |
OneToOneType.getColumnSpan(Mapping session) |
int |
MetaType.getColumnSpan(Mapping mapping) |
int |
ManyToOneType.getColumnSpan(Mapping mapping) |
int |
CustomType.getColumnSpan(Mapping session) |
int |
CompositeCustomType.getColumnSpan(Mapping mapping) |
int |
ComponentType.getColumnSpan(Mapping mapping) |
int |
CollectionType.getColumnSpan(Mapping session) |
int |
AnyType.getColumnSpan(Mapping session) |
int |
AbstractStandardBasicType.getColumnSpan(Mapping mapping) |
String |
EntityType.getIdentifierOrUniqueKeyPropertyName(Mapping factory)
The name of the property on the associated entity to which our FK
refers
|
Type |
EntityType.getIdentifierOrUniqueKeyType(Mapping factory)
Determine the type of either (1) the identifier if we reference the
associated entity's PK or (2) the unique key to which we refer (i.e.
|
int[] |
Type.sqlTypes(Mapping mapping)
Return the JDBC types codes (per
Types ) for the columns mapped by this type. |
int[] |
SpecialOneToOneType.sqlTypes(Mapping mapping) |
int[] |
OneToOneType.sqlTypes(Mapping session) |
int[] |
MetaType.sqlTypes(Mapping mapping) |
int[] |
ManyToOneType.sqlTypes(Mapping mapping) |
int[] |
CustomType.sqlTypes(Mapping pi) |
int[] |
CompositeCustomType.sqlTypes(Mapping mapping) |
int[] |
ComponentType.sqlTypes(Mapping mapping) |
int[] |
CollectionType.sqlTypes(Mapping session) |
int[] |
AnyType.sqlTypes(Mapping mapping) |
int[] |
AbstractStandardBasicType.sqlTypes(Mapping mapping) |
boolean[] |
Type.toColumnNullness(Object value,
Mapping mapping)
Given an instance of the type, return an array of boolean, indicating
which mapped columns would be null.
|
boolean[] |
OneToOneType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
MetaType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
ManyToOneType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CustomType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CompositeCustomType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
ComponentType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CollectionType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
AnyType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
AbstractStandardBasicType.toColumnNullness(Object value,
Mapping mapping) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.