Examples of CollectionReturn


Examples of org.hibernate.loader.custom.CollectionReturn

                ( SQLLoadable ) alias2Persister.get( alias ),
                ( String ) alias2Suffix.get( alias )
            );
          }
        }
        CollectionReturn customReturn = new CollectionReturn(
            alias,
            rtn.getOwnerEntityName(),
            rtn.getOwnerProperty(),
            collectionAliases,
                elementEntityAliases,
View Full Code Here

Examples of org.hibernate.loader.custom.CollectionReturn

                (SQLLoadable) alias2Persister.get( alias ),
                (String) alias2Suffix.get( alias )
            );
          }
        }
        CollectionReturn customReturn = new CollectionReturn(
            alias,
            rtn.getOwnerEntityName(),
            rtn.getOwnerProperty(),
            collectionAliases,
            elementEntityAliases,
View Full Code Here

Examples of org.hibernate.loader.custom.CollectionReturn

                (SQLLoadable) alias2Persister.get( alias ),
                (String) alias2Suffix.get( alias )
            );
          }
        }
        CollectionReturn customReturn = new CollectionReturn(
            alias,
            rtn.getOwnerEntityName(),
            rtn.getOwnerProperty(),
            collectionAliases,
            elementEntityAliases,
View Full Code Here

Examples of org.hibernate.loader.plan.spi.CollectionReturn

    // if we get here, it is a root
    if ( ! supportsRootCollectionReturns() ) {
      throw new HibernateException( "This strategy does not support root collection returns" );
    }

    final CollectionReturn collectionReturn = new CollectionReturnImpl( collectionDefinition, querySpaces );
    pushToCollectionStack( collectionReturn );
    addRootReturn( collectionReturn );

    associationKeyRegistered(
        new AssociationKey(
View Full Code Here

Examples of org.hibernate.loader.plan.spi.CollectionReturn

          select,
          getReaderCollector()
      );
    }
    else if ( CollectionReturn.class.isInstance( rootReturn ) ) {
      final CollectionReturn collectionReturn = (CollectionReturn) rootReturn;
      if ( collectionReturn.getElementGraph() != null ) {
        fetchStats = queryProcessor.processFetches(
            collectionReturn.getElementGraph(),
            select,
            getReaderCollector()
        );
      }
      // TODO: what about index???
View Full Code Here

Examples of org.hibernate.loader.plan.spi.CollectionReturn

   */
  public static LoadQueryDetails makeCollectionLoadQueryDetails(
      CollectionPersister collectionPersister,
      LoadPlan loadPlan,
      QueryBuildingParameters buildingParameters) {
    final CollectionReturn rootReturn = RootHelper.INSTANCE.extractRootReturn( loadPlan, CollectionReturn.class );
    final AliasResolutionContextImpl aliasResolutionContext = new AliasResolutionContextImpl(
        collectionPersister.getFactory()
    );
    return collectionPersister.isOneToMany() ?
        new OneToManyLoadQueryDetails(
View Full Code Here

Examples of org.hibernate.loader.plan.spi.CollectionReturn

    // if we get here, it is a root
    if ( ! supportsRootCollectionReturns() ) {
      throw new HibernateException( "This strategy does not support root collection returns" );
    }

    final CollectionReturn collectionReturn = new CollectionReturnImpl( collectionDefinition, querySpaces );
    pushToCollectionStack( collectionReturn );
    addRootReturn( collectionReturn );

    associationKeyRegistered(
        new AssociationKey(
View Full Code Here

Examples of org.hibernate.loader.plan.spi.CollectionReturn

   */
  public static CollectionLoadQueryDetails makeForBatching(
      LoadPlan loadPlan,
      QueryBuildingParameters buildingParameters,
      SessionFactoryImplementor factory) {
    final CollectionReturn rootReturn = Helper.INSTANCE.extractRootReturn( loadPlan, CollectionReturn.class );
    final AliasResolutionContextImpl aliasResolutionContext = new AliasResolutionContextImpl( factory );
    return new OneToManyLoadQueryDetails(
            loadPlan,
            aliasResolutionContext,
            rootReturn,
View Full Code Here

Examples of org.hibernate.loader.plan.spi.CollectionReturn

   */
  public static CollectionLoadQueryDetails makeForBatching(
      LoadPlan loadPlan,
      QueryBuildingParameters buildingParameters,
      SessionFactoryImplementor factory) {
    final CollectionReturn rootReturn = Helper.INSTANCE.extractRootReturn( loadPlan, CollectionReturn.class );
    final AliasResolutionContextImpl aliasResolutionContext = new AliasResolutionContextImpl( factory );
    return new BasicCollectionLoadQueryDetails(
            loadPlan,
            aliasResolutionContext,
            rootReturn,
View Full Code Here

Examples of org.hibernate.loader.plan.spi.CollectionReturn

          select,
          getReaderCollector()
      );
    }
    else if ( CollectionReturn.class.isInstance( rootReturn ) ) {
      final CollectionReturn collectionReturn = (CollectionReturn) rootReturn;
      if ( collectionReturn.getElementGraph() != null ) {
        fetchStats = queryProcessor.processFetches(
            collectionReturn.getElementGraph(),
            select,
            getReaderCollector()
        );
      }
      // TODO: what about index???
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.