Top Description Fields Constructors Methods
org.hibernate.loader

public final Class OuterJoinableAssociation

extends Object
Class Inheritance
Imports
java.util.Collections, .List, .Map, org.hibernate.MappingException, org.hibernate.engine.internal.JoinHelper, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.internal.util.StringHelper, org.hibernate.persister.collection.QueryableCollection, org.hibernate.persister.entity.Joinable, org.hibernate.sql.JoinFragment, .JoinType, org.hibernate.type.AssociationType, .EntityType

Part of the Hibernate SQL rendering internals. This class represents a joinable association.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final Map<K, V>
private final boolean
private final Joinable
private final AssociationType
private final JoinType
private final String
private final String[]
private final String
private final PropertyPath
private final String
private final String[]

Constructor Summary

AccessConstructor and Description
public
OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, JoinType joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map<K, V> enabledFilters)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public void
public void
public static OuterJoinableAssociation
createRoot(AssociationType joinableType, String alias, SessionFactoryImplementor factory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public Joinable
public AssociationType
public JoinType
public String
public int
getOwner(final List<E> associations)

private static int
getPosition(String lhsAlias, List<E> associations)

Get the position of the join with the given alias in the list of joins

public PropertyPath
public String
public String
public String
public boolean
public boolean
public boolean
private boolean
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

enabledFiltersback to summary
private final Map<K, V> enabledFilters
hasRestrictionback to summary
private final boolean hasRestriction
joinableback to summary
private final Joinable joinable
joinableTypeback to summary
private final AssociationType joinableType
joinTypeback to summary
private final JoinType joinType
lhsAliasback to summary
private final String lhsAlias
lhsColumnsback to summary
private final String[] lhsColumns
onback to summary
private final String on
propertyPathback to summary
private final PropertyPath propertyPath
rhsAliasback to summary
private final String rhsAlias
rhsColumnsback to summary
private final String[] rhsColumns

Constructor Detail

OuterJoinableAssociationback to summary
public OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, JoinType joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map<K, V> enabledFilters) throws MappingException

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

addJoinsback to summary
public void addJoins(JoinFragment outerjoin) throws MappingException
addManyToManyJoinback to summary
public void addManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection) throws MappingException
createRootback to summary
public static OuterJoinableAssociation createRoot(AssociationType joinableType, String alias, SessionFactoryImplementor factory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

getJoinableback to summary
public Joinable getJoinable()
getJoinableTypeback to summary
public AssociationType getJoinableType()
getJoinTypeback to summary
public JoinType getJoinType()
getLhsAliasback to summary
public String getLhsAlias()
getOwnerback to summary
public int getOwner(final List<E> associations)
getPositionback to summary
private static int getPosition(String lhsAlias, List<E> associations)

Get the position of the join with the given alias in the list of joins

getPropertyPathback to summary
public PropertyPath getPropertyPath()
getRHSAliasback to summary
public String getRHSAlias()
getRhsAliasback to summary
public String getRhsAlias()
getRHSUniqueKeyNameback to summary
public String getRHSUniqueKeyName()
hasRestrictionback to summary
public boolean hasRestriction()
isCollectionback to summary
public boolean isCollection()
isManyToManyWithback to summary
public boolean isManyToManyWith(OuterJoinableAssociation other)
isOneToOneback to summary
private boolean isOneToOne()
validateJoinback to summary
public void validateJoin(String path) throws MappingException