Examples of AssociationKey


Examples of org.hibernate.persister.walking.spi.AssociationKey

  }

  @Override
  public void foundCircularAssociation(AssociationAttributeDefinition attributeDefinition) {
    // todo : use this information to create the BiDirectionalEntityFetch instances
    final AssociationKey associationKey = attributeDefinition.getAssociationKey();
    final FetchOwner fetchOwner = fetchedAssociationKeyOwnerMap.get( associationKey );
    if ( fetchOwner == null ) {
      throw new IllegalStateException(
          String.format(
              "Expecting AssociationKey->FetchOwner mapping for %s",
              associationKey.toString()
          )
      );
    }

    currentFetchOwner().addFetch( new CircularFetch( currentFetchOwner(), fetchOwner, attributeDefinition ) );
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.