Package org.hibernate.loader.plan.build.spi

Examples of org.hibernate.loader.plan.build.spi.ExpandingCompositeQuerySpace


        return new SimpleEntityIdentifierDescriptionImpl();
      }
    }

    // if we get here, we know we have a composite identifier...
    final ExpandingCompositeQuerySpace querySpace = expandingEntityQuerySpace().makeCompositeIdentifierQuerySpace();
    return identifierDefinition.isEncapsulated()
        ? buildEncapsulatedCompositeIdentifierDescription( querySpace )
        : buildNonEncapsulatedCompositeIdentifierDescription( querySpace );
  }
View Full Code Here


        else if ( type.isAnyType() ) {
          return new CollectionFetchableIndexAnyGraph( this );
        }
      }
      else if ( type.isComponentType() ) {
        final ExpandingCompositeQuerySpace compositeQuerySpace = QuerySpaceHelper.INSTANCE.makeCompositeQuerySpace(
            collectionQuerySpace,
            new CompositePropertyMapping(
                (CompositeType) persister.getIndexType(),
                (PropertyMapping) persister,
                ""
View Full Code Here

      else if ( type.isAnyType() ) {
        return new CollectionFetchableElementAnyGraph( this );
      }
    }
    else if ( type.isComponentType() ) {
      final ExpandingCompositeQuerySpace compositeQuerySpace = QuerySpaceHelper.INSTANCE.makeCompositeQuerySpace(
          collectionQuerySpace,
          new CompositePropertyMapping(
              (CompositeType) persister.getElementType(),
              (PropertyMapping) persister,
              ""
View Full Code Here

  }

  @Override
  public ExpandingCompositeQuerySpace makeCompositeIdentifierQuerySpace() {
    final String compositeQuerySpaceUid = getUid() + "-id";
    final ExpandingCompositeQuerySpace rhs = getExpandingQuerySpaces().makeCompositeQuerySpace(
        compositeQuerySpaceUid,
        new CompositePropertyMapping(
            (CompositeType) getEntityPersister().getIdentifierType(),
            (PropertyMapping) getEntityPersister(),
            getEntityPersister().getIdentifierPropertyName()
View Full Code Here

      CompositePropertyMapping compositePropertyMapping,
      boolean canJoinsBeRequired) {

    checkQuerySpaceDoesNotExist( uid );

    final ExpandingCompositeQuerySpace space = new CompositeQuerySpaceImpl(
        compositePropertyMapping,
        uid,
        this,
        canJoinsBeRequired
    );
View Full Code Here

      CompositeType attributeType,
      String querySpaceUid,
      boolean required,
      boolean shouldIncludeJoin) {

    final ExpandingCompositeQuerySpace rhs = lhsQuerySpace.getExpandingQuerySpaces().makeCompositeQuerySpace(
        querySpaceUid,
        compositePropertyMapping,
        required
    );
View Full Code Here

  }

  @Override
  public CompositeAttributeFetch buildCompositeAttributeFetch(
      AttributeDefinition attributeDefinition) {
    final ExpandingCompositeQuerySpace compositeQuerySpace = QuerySpaceHelper.INSTANCE.makeCompositeQuerySpace(
        expandingQuerySpace(),
        attributeDefinition,
        getQuerySpaces().generateImplicitUid(),
        true
    );
View Full Code Here

      CompositePropertyMapping compositePropertyMapping,
      boolean canJoinsBeRequired) {

    checkQuerySpaceDoesNotExist( uid );

    final ExpandingCompositeQuerySpace space = new CompositeQuerySpaceImpl(
        compositePropertyMapping,
        uid,
        this,
        canJoinsBeRequired
    );
View Full Code Here

      CompositePropertyMapping compositePropertyMapping,
      boolean canJoinsBeRequired) {

    checkQuerySpaceDoesNotExist( uid );

    final ExpandingCompositeQuerySpace space = new CompositeQuerySpaceImpl(
        compositePropertyMapping,
        uid,
        this,
        canJoinsBeRequired
    );
View Full Code Here

TOP

Related Classes of org.hibernate.loader.plan.build.spi.ExpandingCompositeQuerySpace

Copyright © 2018 www.massapicom. 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.