java.lang.Object | |
↳ | org.hibernate.loader.JoinWalker |
Known Direct Subclasses |
Known Indirect Subclasses |
Walks the metamodel, searching for joins, and collecting together information needed by OuterJoinLoader.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JoinWalker.AssociationInitCallback |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
aliases | |||||||||||
associations | |||||||||||
collectionOwners | |||||||||||
collectionPersisters | |||||||||||
collectionSuffixes | |||||||||||
lockModeArray | |||||||||||
lockOptions | |||||||||||
ownerAssociationTypes | |||||||||||
owners | |||||||||||
persisters | |||||||||||
sql | |||||||||||
suffixes |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Count the number of instances of Joinable which are actually
also instances of PersistentCollection which are being fetched
by outer join
| |||||||||||
Count the number of instances of Joinable which are actually
also instances of Loadable, or are one-to-many associations
| |||||||||||
Determine the appropriate type of join (if any) to use to fetch the
given association.
| |||||||||||
Use an inner join if it is a non-null association and this
is the "first" join in a series
| |||||||||||
Determine the appropriate associationType of join (if any) to use to fetch the
given association.
| |||||||||||
Used to detect circularities in the joined graph, note that
this method is side-effecty
| |||||||||||
Used to detect circularities in the joined graph, note that
this method is side-effecty
| |||||||||||
Should we join this association?
| |||||||||||
Override on subclasses to enable or suppress joining
of certain association types
| |||||||||||
Does the mapping, and Hibernate default semantics, specify that
this association should be fetched by outer joining
| |||||||||||
Generate a sequence of LEFT OUTER JOIN clauses for the given associations.
| |||||||||||
Get the order by string required for collection fetching
| |||||||||||
Generate a select list of columns containing all properties of the entity classes
| |||||||||||
For a collection role, return a list of associations to be fetched by outerjoin
| |||||||||||
Walk the association tree for an entity, adding associations which should
be join fetched to the
associations inst var. | |||||||||||
Render the where condition for a (batch) load by identifier / collection key
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Count the number of instances of Joinable which are actually also instances of PersistentCollection which are being fetched by outer join
MappingException |
---|
Count the number of instances of Joinable which are actually also instances of Loadable, or are one-to-many associations
MappingException |
---|
Determine the appropriate type of join (if any) to use to fetch the given association.
persister | The owner of the association. |
---|---|
path | The path to the association |
propertyNumber | The property number representing the association. |
associationType | The association type. |
metadataFetchMode | The metadata-defined fetch mode. |
metadataCascadeStyle | The metadata-defined cascade style. |
lhsTable | The owner table |
lhsColumns | The owner join columns |
nullable | Is the association nullable. |
currentDepth | Current join depth |
INNER_JOIN
,
LEFT_OUTER_JOIN
, or -1 to indicate no joining.MappingException | ?? |
---|
Use an inner join if it is a non-null association and this is the "first" join in a series
Determine the appropriate associationType of join (if any) to use to fetch the given association.
associationType | The association associationType. |
---|---|
config | The metadata-defined fetch mode. |
path | The path to the association |
lhsTable | The owner table |
lhsColumns | The owner join columns |
nullable | Is the association nullable. |
currentDepth | Current join depth |
cascadeStyle | The metadata-defined cascade style. |
INNER_JOIN
,
LEFT_OUTER_JOIN
, or -1 to indicate no joining.MappingException | ?? |
---|
MappingException |
---|
Used to detect circularities in the joined graph, note that this method is side-effecty
Used to detect circularities in the joined graph, note that this method is side-effecty
Should we join this association?
Override on subclasses to enable or suppress joining of certain association types
Does the mapping, and Hibernate default semantics, specify that this association should be fetched by outer joining
MappingException |
---|
Generate a sequence of LEFT OUTER JOIN clauses for the given associations.
MappingException |
---|
Get the order by string required for collection fetching
MappingException |
---|
Generate a select list of columns containing all properties of the entity classes
MappingException |
---|
For a collection role, return a list of associations to be fetched by outerjoin
MappingException |
---|
Walk the association tree for an entity, adding associations which should
be join fetched to the associations
inst var. This form is the
entry point into the walking for a given entity, starting the recursive
calls into #walkEntityTree(org.hibernate.persister.entity.OuterJoinLoadable, String, PropertyPath ,int).
persister | The persister representing the entity to be walked. |
---|---|
alias | The (root) alias to use for this entity/persister. |
MappingException | ??? |
---|
Render the where condition for a (batch) load by identifier / collection key