Package org.hibernate.loader
Class OuterJoinableAssociation
- java.lang.Object
-
- org.hibernate.loader.OuterJoinableAssociation
-
public final class OuterJoinableAssociation extends Object
Part of the Hibernate SQL rendering internals. This class represents a joinable association.
-
-
Constructor Summary
Constructors Constructor Description OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, JoinType joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map enabledFilters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddJoins(JoinFragment outerjoin)voidaddManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection)static OuterJoinableAssociationcreateRoot(AssociationType joinableType, String alias, SessionFactoryImplementor factory)JoinablegetJoinable()AssociationTypegetJoinableType()JoinTypegetJoinType()StringgetLhsAlias()intgetOwner(List associations)PropertyPathgetPropertyPath()StringgetRhsAlias()StringgetRHSAlias()StringgetRHSUniqueKeyName()booleanhasRestriction()booleanisCollection()booleanisManyToManyWith(OuterJoinableAssociation other)voidvalidateJoin(String path)
-
-
-
Constructor Detail
-
OuterJoinableAssociation
public OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, JoinType joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map enabledFilters) throws MappingException
- Throws:
MappingException
-
-
Method Detail
-
createRoot
public static OuterJoinableAssociation createRoot(AssociationType joinableType, String alias, SessionFactoryImplementor factory)
-
getPropertyPath
public PropertyPath getPropertyPath()
-
getJoinType
public JoinType getJoinType()
-
getLhsAlias
public String getLhsAlias()
-
getRHSAlias
public String getRHSAlias()
-
getRhsAlias
public String getRhsAlias()
-
getJoinableType
public AssociationType getJoinableType()
-
getRHSUniqueKeyName
public String getRHSUniqueKeyName()
-
isCollection
public boolean isCollection()
-
getJoinable
public Joinable getJoinable()
-
hasRestriction
public boolean hasRestriction()
-
getOwner
public int getOwner(List associations)
-
addJoins
public void addJoins(JoinFragment outerjoin) throws MappingException
- Throws:
MappingException
-
validateJoin
public void validateJoin(String path) throws MappingException
- Throws:
MappingException
-
isManyToManyWith
public boolean isManyToManyWith(OuterJoinableAssociation other)
-
addManyToManyJoin
public void addManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection) throws MappingException
- Throws:
MappingException
-
-