Examples of AssociationContext


Examples of org.hibernate.ogm.dialect.spi.AssociationContext

            new EntityKeyMetadata( "Project", new String[] { "id" } ),
            new String[] { "projectID" }
        )
    );

    AssociationContext associationContext = new AssociationContextImpl(
        new AssociationTypeContextImpl(
            OptionsContextImpl.forProperty(
                OptionValueSources.getDefaultSources( new ConfigurationPropertyReader( sessions.getProperties(), new ClassLoaderServiceImpl() ) ),
                Project.class,
                "modules"
View Full Code Here

Examples of org.hibernate.ogm.dialect.spi.AssociationContext

      OptionsServiceContext serviceContext = session.getFactory()
          .getServiceRegistry()
          .getService( OptionsService.class )
          .context();

      associationContext = new AssociationContext(
          serviceContext.getPropertyOptions( hostingEntityType, getAssociationKey().getMetadata().getCollectionRole() ),
          associationKeyMetadata.getAssociatedEntityKeyMetadata(),
          roleOnMainSide
      );
    }
View Full Code Here

Examples of org.hibernate.ogm.dialect.spi.AssociationContext

      getOperationQueue().add( new RemoveAssociationOperation( key, withQueue( associationContext ) ) );
    }
  }

  private AssociationContext withQueue(AssociationContext associationContext) {
    return new AssociationContext( associationContext, getOperationQueue() );
  }
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.