public abstract class AbstractEntityJoinWalker extends JoinWalker
JoinWalker.AssociationInitCallback
aliases, associations, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, lockOptions, ownerAssociationTypes, owners, persisters, sql, suffixes
Constructor and Description |
---|
AbstractEntityJoinWalker(OuterJoinLoadable persister,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
AbstractEntityJoinWalker(OuterJoinLoadable persister,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers,
String alias) |
Modifier and Type | Method and Description |
---|---|
protected String |
getAlias() |
abstract String |
getComment() |
protected Loadable |
getPersister() |
protected String |
getWhereFragment() |
protected void |
initAll(String whereString,
String orderByString,
LockOptions lockOptions) |
protected void |
initAll(String whereString,
String orderByString,
LockOptions lockOptions,
JoinWalker.AssociationInitCallback callback) |
protected void |
initProjection(String projectionString,
String whereString,
String orderByString,
String groupByString,
LockOptions lockOptions) |
protected boolean |
isDuplicateAssociation(String foreignKeyTable,
String[] foreignKeyColumns)
Used to detect circularities in the joined graph, note that
this method is side-effecty
|
protected boolean |
isJoinedFetchEnabled(AssociationType type,
FetchMode config,
CascadeStyle cascadeStyle)
The superclass deliberately excludes collections
|
protected boolean |
isJoinFetchEnabledByProfile(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber) |
String |
toString() |
countCollectionPersisters, countEntityPersisters, generateRootAlias, generateTableAlias, getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getFactory, getJoinType, getJoinType, getJoinType, getLoadQueryInfluencers, getLockModeArray, getLockModeOptions, getOwnerAssociationTypes, getOwners, getPersisters, getSQLString, getSuffixes, getWithClause, hasRestriction, initPersisters, initPersisters, initPersisters, isDuplicateAssociation, isJoinable, isJoinedFetchEnabledInMapping, isTooDeep, isTooManyCollections, mergeOrderings, mergeOuterJoins, orderBy, orderBy, selectString, setAliases, setCollectionOwners, setCollectionPersisters, setCollectionSuffixes, setOwnerAssociationTypes, setOwners, setPersisters, setSql, setSuffixes, walkCollectionTree, walkEntityTree, whereString
public AbstractEntityJoinWalker(OuterJoinLoadable persister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
public AbstractEntityJoinWalker(OuterJoinLoadable persister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers, String alias)
protected final void initAll(String whereString, String orderByString, LockOptions lockOptions) throws MappingException
MappingException
protected final void initAll(String whereString, String orderByString, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback) throws MappingException
MappingException
protected final void initProjection(String projectionString, String whereString, String orderByString, String groupByString, LockOptions lockOptions) throws MappingException
MappingException
protected String getWhereFragment() throws MappingException
MappingException
protected boolean isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)
isJoinedFetchEnabled
in class JoinWalker
protected final boolean isJoinFetchEnabledByProfile(OuterJoinLoadable persister, PropertyPath path, int propertyNumber)
public abstract String getComment()
protected boolean isDuplicateAssociation(String foreignKeyTable, String[] foreignKeyColumns)
JoinWalker
isDuplicateAssociation
in class JoinWalker
protected final Loadable getPersister()
protected final String getAlias()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.