Package org.hibernate.ogm.dialect.impl

Examples of org.hibernate.ogm.dialect.impl.AssociationContextImpl


            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


        EmptyOptionsContext.INSTANCE
    );
  }

  public static AssociationContext emptyAssociationContext() {
    return new AssociationContextImpl(
        new AssociationTypeContextImpl(
            OptionsContextImpl.forProperty( Collections.<OptionValueSource>emptyList(), Object.class, "" ),
            null,
            null
        ),
View Full Code Here

   * Returns an {@link AssociationContext} to be passed to {@link GridDialect} operations targeting the association
   * managed by this persister.
   */
  private AssociationContext getAssociationContext() {
    if ( associationContext == null ) {
      associationContext = new AssociationContextImpl(
          associationTypeContext,
          hostingEntity != null ? OgmEntityEntryState.getStateFor( session, hostingEntity ).getTuple() : null
      );
    }

View Full Code Here

TOP

Related Classes of org.hibernate.ogm.dialect.impl.AssociationContextImpl

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.