Examples of CollectionReference


Examples of org.hibernate.loader.plan2.spi.CollectionReference

  }

  @Override
  public void finishingCollection(CollectionDefinition collectionDefinition) {
    // pop the current fetch owner, and make sure what we just popped represents this collection
    final CollectionReference collectionReference = popFromCollectionStack();
    if ( ! collectionReference.getCollectionPersister().equals( collectionDefinition.getCollectionPersister() ) ) {
      throw new WalkingException( "Mismatched FetchSource from stack on pop" );
    }

    log.tracef(
        "%s Finished collection : %s",
View Full Code Here

Examples of org.hibernate.loader.plan2.spi.CollectionReference

        "%s Starting collection index graph : %s",
        StringHelper.repeat( ">>", fetchSourceStack.size() ),
        indexDefinition.getCollectionDefinition().getCollectionPersister().getRole()
    );

    final CollectionReference collectionReference = collectionReferenceStack.peekFirst();
    final CollectionFetchableIndex indexGraph = collectionReference.getIndexGraph();

    if ( indexType.isEntityType() || indexType.isComponentType() ) {
      if ( indexGraph == null ) {
        throw new WalkingException(
            "CollectionReference did not return an expected index graph : " +
View Full Code Here

Examples of org.hibernate.loader.plan2.spi.CollectionReference

        "%s Starting collection element graph : %s",
        StringHelper.repeat( ">>", fetchSourceStack.size() ),
        elementDefinition.getCollectionDefinition().getCollectionPersister().getRole()
    );

    final CollectionReference collectionReference = collectionReferenceStack.peekFirst();
    final CollectionFetchableElement elementGraph = collectionReference.getElementGraph();

    if ( elementType.isAssociationType() || elementType.isComponentType() ) {
      if ( elementGraph == null ) {
        throw new IllegalStateException(
            "CollectionReference did not return an expected element graph : " +
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.