Package | Description |
---|---|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.hql.internal.ast.util | |
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.collection |
This package defines collection initializers
|
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.entity |
This package defines entity loaders
|
org.hibernate.persister.walking.internal | |
org.hibernate.persister.walking.spi | |
org.hibernate.tuple.component | |
org.hibernate.tuple.entity | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
Modifier and Type | Method and Description |
---|---|
AssociationType |
JoinSequence.Join.getAssociationType() |
Modifier and Type | Method and Description |
---|---|
JoinSequence |
JoinSequence.addJoin(AssociationType associationType,
String alias,
JoinType joinType,
String[] referencingKey)
Add a join to this sequence
|
JoinSequence |
JoinSequence.addJoin(AssociationType associationType,
String alias,
JoinType joinType,
String[][] referencingKeys)
Add a join to this sequence
|
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.
|
static String |
JoinHelper.getLHSTableName(AssociationType type,
int propertyIndex,
OuterJoinLoadable lhsPersister)
Determine the name of the table that is the left-hand-side of the join.
|
static String[] |
JoinHelper.getRHSColumnNames(AssociationType type,
SessionFactoryImplementor factory)
Get the columns of the associated table which are to be used in the join
|
Modifier and Type | Method and Description |
---|---|
AssociationType |
SessionFactoryHelper.getElementAssociationType(CollectionType collectionType)
Essentially the same as
SessionFactoryHelper.getElementType(org.hibernate.type.CollectionType) , but requiring that the
element type be an association type. |
Modifier and Type | Method and Description |
---|---|
JoinSequence |
SessionFactoryHelper.createJoinSequence(boolean implicit,
AssociationType associationType,
String tableAlias,
JoinType joinType,
String[] columns)
Generate a join sequence representing the given association type.
|
JoinSequence |
SessionFactoryHelper.createJoinSequence(boolean implicit,
AssociationType associationType,
String tableAlias,
JoinType joinType,
String[][] columns)
Generate a join sequence representing the given association type.
|
Modifier and Type | Method and Description |
---|---|
AssociationType |
OuterJoinableAssociation.getJoinableType() |
Modifier and Type | Method and Description |
---|---|
static OuterJoinableAssociation |
OuterJoinableAssociation.createRoot(AssociationType joinableType,
String alias,
SessionFactoryImplementor factory) |
protected JoinType |
JoinWalker.getJoinType(AssociationType associationType,
FetchMode config,
PropertyPath path,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth,
CascadeStyle cascadeStyle)
Determine the appropriate associationType of join (if any) to use to fetch the
given association.
|
protected JoinType |
JoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth)
Determine the appropriate type of join (if any) to use to fetch the
given association.
|
protected boolean |
JoinWalker.isDuplicateAssociation(String lhsTable,
String[] lhsColumnNames,
AssociationType type)
Used to detect circularities in the joined graph, note that
this method is side-effecty
|
protected boolean |
JoinWalker.isJoinable(JoinType joinType,
Set visitedAssociationKeys,
String lhsTable,
String[] lhsColumnNames,
AssociationType type,
int depth)
Should we join this association?
|
protected boolean |
AbstractEntityJoinWalker.isJoinedFetchEnabled(AssociationType type,
FetchMode config,
CascadeStyle cascadeStyle)
The superclass deliberately excludes collections
|
protected boolean |
JoinWalker.isJoinedFetchEnabled(AssociationType type,
FetchMode config,
CascadeStyle cascadeStyle)
Override on subclasses to enable or suppress joining
of certain association types
|
protected boolean |
JoinWalker.isJoinedFetchEnabledInMapping(FetchMode config,
AssociationType type)
Does the mapping, and Hibernate default semantics, specify that
this association should be fetched by outer joining
|
Constructor and Description |
---|
OuterJoinableAssociation(PropertyPath propertyPath,
AssociationType joinableType,
String lhsAlias,
String[] lhsColumns,
String rhsAlias,
JoinType joinType,
String withClause,
boolean hasRestriction,
SessionFactoryImplementor factory,
Map enabledFilters) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
BasicCollectionJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
CriteriaJoinWalker.getJoinType(AssociationType associationType,
FetchMode config,
PropertyPath path,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth,
CascadeStyle cascadeStyle) |
protected JoinType |
CriteriaJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
EntityJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
protected boolean |
CascadeEntityJoinWalker.isJoinedFetchEnabled(AssociationType type,
FetchMode config,
CascadeStyle cascadeStyle) |
Modifier and Type | Method and Description |
---|---|
static FetchStyle |
FetchStrategyHelper.determineFetchStyleByMetadata(FetchMode mappingFetchMode,
AssociationType type,
SessionFactoryImplementor sessionFactory) |
static FetchTiming |
FetchStrategyHelper.determineFetchTiming(FetchStyle style,
AssociationType type,
SessionFactoryImplementor sessionFactory) |
Modifier and Type | Method and Description |
---|---|
AssociationType |
AssociationAttributeDefinition.getType() |
Modifier and Type | Method and Description |
---|---|
AssociationType |
CompositeBasedAssociationAttribute.getType() |
Modifier and Type | Method and Description |
---|---|
protected FetchStyle |
CompositeBasedAssociationAttribute.determineFetchStyleByMetadata(FetchMode fetchMode,
AssociationType type) |
Constructor and Description |
---|
CompositeBasedAssociationAttribute(AbstractCompositionAttribute source,
SessionFactoryImplementor factory,
int entityBasedAttributeNumber,
String attributeName,
AssociationType attributeType,
BaselineAttributeInformation baselineInfo,
int subAttributeNumber,
AssociationKey associationKey) |
Modifier and Type | Method and Description |
---|---|
AssociationType |
EntityBasedAssociationAttribute.getType() |
Constructor and Description |
---|
EntityBasedAssociationAttribute(EntityPersister source,
SessionFactoryImplementor sessionFactory,
int attributeNumber,
String attributeName,
AssociationType attributeType,
BaselineAttributeInformation baselineInfo) |
Modifier and Type | Class and Description |
---|---|
class |
AnyType
Handles "any" mappings
|
class |
ArrayType
A type for persistent arrays.
|
class |
BagType |
class |
CollectionType
A type that handles Hibernate PersistentCollections (including arrays).
|
class |
CustomCollectionType
A custom type for mapping user-written classes that implement PersistentCollection
|
class |
EntityType
Base for types which map associations to persistent entities.
|
class |
IdentifierBagType |
class |
ListType |
class |
ManyToOneType
A many-to-one association to an entity.
|
class |
MapType |
class |
ObjectType
Specific adaptation of the "any" type to the old deprecated "object" type
|
class |
OneToOneType
A one-to-one association to an entity
|
class |
OrderedMapType
A specialization of the map type, with (resultset-based) ordering.
|
class |
OrderedSetType
A specialization of the set type, with (resultset-based) ordering.
|
class |
SetType |
class |
SortedMapType |
class |
SortedSetType |
class |
SpecialOneToOneType
A one-to-one association that maps to specific formula(s)
instead of the primary key column of the owning entity.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.