Package org.hibernate.ogm.dialect.spi

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


      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

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

  private AssociationContext withQueue(AssociationContext associationContext) {
    return new AssociationContext( associationContext, getOperationQueue() );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.dialect.spi.AssociationContext

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.