final
static
int
|
countCollectionPersisters(List associations)
Count the number of instances of Joinable which are actually
also instances of PersistentCollection which are being fetched
by outer join
|
final
static
int
|
countEntityPersisters(List associations)
Count the number of instances of Joinable which are actually
also instances of Loadable, or are one-to-many associations
|
String
|
generateRootAlias(String description)
|
String
|
generateTableAlias(int n, PropertyPath path, Joinable joinable)
|
String[]
|
getAliases()
|
int[]
|
getCollectionOwners()
|
CollectionPersister[]
|
getCollectionPersisters()
|
String[]
|
getCollectionSuffixes()
|
Dialect
|
getDialect()
|
SessionFactoryImplementor
|
getFactory()
|
int
|
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.
|
int
|
getJoinType(boolean nullable, int currentDepth)
Use an inner join if it is a non-null association and this
is the "first" join in a series
|
int
|
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.
|
LoadQueryInfluencers
|
getLoadQueryInfluencers()
|
LockMode[]
|
getLockModeArray()
|
LockOptions
|
getLockModeOptions()
|
EntityType[]
|
getOwnerAssociationTypes()
|
int[]
|
getOwners()
|
Loadable[]
|
getPersisters()
|
String
|
getSQLString()
|
String[]
|
getSuffixes()
|
String
|
getWithClause(PropertyPath path)
|
void
|
initPersisters(List associations, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback)
|
void
|
initPersisters(List associations, LockOptions lockOptions)
|
void
|
initPersisters(List associations, LockMode lockMode)
|
boolean
|
isDuplicateAssociation(String lhsTable, String[] lhsColumnNames, AssociationType type)
Used to detect circularities in the joined graph, note that
this method is side-effecty
|
boolean
|
isDuplicateAssociation(String foreignKeyTable, String[] foreignKeyColumns)
Used to detect circularities in the joined graph, note that
this method is side-effecty
|
boolean
|
isJoinable(int joinType, Set visitedAssociationKeys, String lhsTable, String[] lhsColumnNames, AssociationType type, int depth)
Should we join this association?
|
boolean
|
isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)
Override on subclasses to enable or suppress joining
of certain association types
|
boolean
|
isJoinedFetchEnabledInMapping(FetchMode config, AssociationType type)
Does the mapping, and Hibernate default semantics, specify that
this association should be fetched by outer joining
|
boolean
|
isTooDeep(int currentDepth)
|
boolean
|
isTooManyCollections()
|
static
String
|
mergeOrderings(String ordering1, String ordering2)
|
final
JoinFragment
|
mergeOuterJoins(List associations)
Generate a sequence of LEFT OUTER JOIN clauses for the given associations.
|
String
|
orderBy(List associations, String orderBy)
|
final
static
String
|
orderBy(List associations)
Get the order by string required for collection fetching
|
final
String
|
selectString(List associations)
Generate a select list of columns containing all properties of the entity classes
|
void
|
setAliases(String[] aliases)
|
void
|
setCollectionOwners(int[] collectionOwners)
|
void
|
setCollectionPersisters(CollectionPersister[] collectionPersisters)
|
void
|
setCollectionSuffixes(String[] collectionSuffixes)
|
void
|
setOwnerAssociationTypes(EntityType[] ownerAssociationType)
|
void
|
setOwners(int[] owners)
|
void
|
setPersisters(Loadable[] persisters)
|
void
|
setSql(String sql)
|
void
|
setSuffixes(String[] suffixes)
|
final
void
|
walkCollectionTree(QueryableCollection persister, String alias)
For a collection role, return a list of associations to be fetched by outerjoin
|
final
void
|
walkEntityTree(OuterJoinLoadable persister, String alias)
Walk the association tree for an entity, adding associations which should
be join fetched to the associations inst var.
|
StringBuffer
|
whereString(String alias, String[] columnNames, int batchSize)
Render the where condition for a (batch) load by identifier / collection key
|