public PropertyPath append(String property) { return new PropertyPath( this, property ); }
public static OuterJoinableAssociation createRoot( AssociationType joinableType, String alias, SessionFactoryImplementor factory) { return new OuterJoinableAssociation( new PropertyPath(), joinableType, null, null, alias, JoinType.LEFT_OUTER_JOIN, null, false, factory, Collections.EMPTY_MAP ); }
/** * For a collection role, return a list of associations to be fetched by outerjoin */ protected final void walkCollectionTree(QueryableCollection persister, String alias) throws MappingException { walkCollectionTree( persister, alias, new PropertyPath(), 0 ); //TODO: when this is the entry point, we should use an INNER_JOIN for fetching the many-to-many elements! }
/** * Walk the association tree for an entity, adding associations which should * be join fetched to the {@link #associations} inst var. This form is the * entry point into the walking for a given entity, starting the recursive * calls into {@link #walkEntityTree(org.hibernate.persister.entity.OuterJoinLoadable, String, PropertyPath, int)}. * * @param persister The persister representing the entity to be walked. * @param alias The (root) alias to use for this entity/persister. * * @throws org.hibernate.MappingException ??? */ protected final void walkEntityTree( OuterJoinLoadable persister, String alias) throws MappingException { walkEntityTree( persister, alias, new PropertyPath(), 0 ); }
@Override public void start() { if ( ! fetchSourceStack.isEmpty() ) { throw new WalkingException( "Fetch owner stack was not empty on start; " + "be sure to not use LoadPlanBuilderStrategy instances concurrently" ); } propertyPathStack.push( new PropertyPath() ); }
public CollectionReturnImpl(CollectionDefinition collectionDefinition, ExpandingQuerySpaces querySpaces) { super( querySpaces.makeRootCollectionQuerySpace( querySpaces.generateImplicitUid(), collectionDefinition.getCollectionPersister() ), new PropertyPath( "[" + collectionDefinition.getCollectionPersister().getRole() + "]" ), true ); } }
public EntityReturnImpl(EntityDefinition entityDefinition, ExpandingQuerySpaces querySpaces) { super( querySpaces.makeRootEntityQuerySpace( querySpaces.generateImplicitUid(), entityDefinition.getEntityPersister() ), new PropertyPath( entityDefinition.getEntityPersister().getEntityName() ) ); }
public PropertyPath append(String property) { return new PropertyPath( this, property ); }
public PropertyPath append(String property) { return new PropertyPath( this, property ); }
public static OuterJoinableAssociation createRoot( AssociationType joinableType, String alias, SessionFactoryImplementor factory) { return new OuterJoinableAssociation( new PropertyPath(), joinableType, null, null, alias, JoinType.LEFT_OUTER_JOIN, null, false, factory, CollectionHelper.EMPTY_MAP ); }
public static OuterJoinableAssociation createRoot( AssociationType joinableType, String alias, SessionFactoryImplementor factory) { return new OuterJoinableAssociation( new PropertyPath(), joinableType, null, null, alias, JoinType.LEFT_OUTER_JOIN, null, false, factory, CollectionHelper.EMPTY_MAP ); }
/** * For a collection role, return a list of associations to be fetched by outerjoin */ protected final void walkCollectionTree(QueryableCollection persister, String alias) throws MappingException { walkCollectionTree( persister, alias, new PropertyPath(), 0 ); //TODO: when this is the entry point, we should use an INNER_JOIN for fetching the many-to-many elements! }
/** * For a collection role, return a list of associations to be fetched by outerjoin */ protected final void walkCollectionTree(QueryableCollection persister, String alias) throws MappingException { walkCollectionTree( persister, alias, new PropertyPath(), 0 ); //TODO: when this is the entry point, we should use an INNER_JOIN for fetching the many-to-many elements! }
/** * Walk the association tree for an entity, adding associations which should * be join fetched to the {@link #associations} inst var. This form is the * entry point into the walking for a given entity, starting the recursive * calls into {@link #walkEntityTree(org.hibernate.persister.entity.OuterJoinLoadable, String, PropertyPath ,int)}. * * @param persister The persister representing the entity to be walked. * @param alias The (root) alias to use for this entity/persister. * @throws org.hibernate.MappingException ??? */ protected final void walkEntityTree( OuterJoinLoadable persister, String alias) throws MappingException { walkEntityTree( persister, alias, new PropertyPath(), 0 ); }
/** * Walk the association tree for an entity, adding associations which should * be join fetched to the {@link #associations} inst var. This form is the * entry point into the walking for a given entity, starting the recursive * calls into {@link #walkEntityTree(org.hibernate.persister.entity.OuterJoinLoadable, String, PropertyPath ,int)}. * * @param persister The persister representing the entity to be walked. * @param alias The (root) alias to use for this entity/persister. * @throws org.hibernate.MappingException ??? */ protected final void walkEntityTree( OuterJoinLoadable persister, String alias) throws MappingException { walkEntityTree( persister, alias, new PropertyPath(), 0 ); }