Package org.hibernate.loader
Class OuterJoinableAssociation
java.lang.Object
org.hibernate.loader.OuterJoinableAssociation
Part of the Hibernate SQL rendering internals. This class represents
a joinable association.
-
Constructor Summary
ConstructorsConstructorDescriptionOuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, int joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map enabledFilters) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJoins(JoinFragment outerjoin) voidaddManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection) static OuterJoinableAssociationcreateRoot(AssociationType joinableType, String alias, SessionFactoryImplementor factory) intintbooleanbooleanbooleanvoidvalidateJoin(String path)
-
Constructor Details
-
OuterJoinableAssociation
public OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, int joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map enabledFilters) throws MappingException - Throws:
MappingException
-
-
Method Details
-
createRoot
public static OuterJoinableAssociation createRoot(AssociationType joinableType, String alias, SessionFactoryImplementor factory) -
getPropertyPath
-
getJoinType
public int getJoinType() -
getLhsAlias
-
getRHSAlias
-
getRhsAlias
-
getJoinableType
-
getRHSUniqueKeyName
-
isCollection
public boolean isCollection() -
getJoinable
-
hasRestriction
public boolean hasRestriction() -
getOwner
-
addJoins
- Throws:
MappingException
-
validateJoin
- Throws:
MappingException
-
isManyToManyWith
-
addManyToManyJoin
public void addManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection) throws MappingException - Throws:
MappingException
-