Package org.hibernate.ogm.datastore.spi

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


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

      associationContext = new AssociationContext(
          serviceContext.getPropertyOptions( hostingEntityType, getAssociationKey().getCollectionRole() )
      );
    }

    return associationContext;
View Full Code Here


  public boolean isStoredInEntityStructure(AssociationKey associationKey, AssociationContext associationContext) {
    return dialect.isStoredInEntityStructure( associationKey, associationContext );
  }

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

    }
    columns = getElementColumnNames();
    for ( String column : columns ) {
      selectableColumns.add( column );
    }
    return new AssociationContext( selectableColumns );
  }
View Full Code Here

      else {
        List<String> selectableColumns = new ArrayList<String>( rowKeyColumnNames.length );
        for ( String column : rowKeyColumnNames ) {
          selectableColumns.add( column );
        }
        associationContext = new AssociationContext( selectableColumns );
      }
    }
    return associationContext;
  }
View Full Code Here

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

      associationContext = new AssociationContext(
          serviceContext.getPropertyOptions( hostingEntityType, getAssociationKey().getCollectionRole() )
      );
    }

    return associationContext;
View Full Code Here

    }
    columns = getElementColumnNames();
    for ( String column : columns ) {
      selectableColumns.add( column );
    }
    return new AssociationContext( selectableColumns );
  }
View Full Code Here

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

      associationContext = new AssociationContext(
          serviceContext.getPropertyOptions( hostingEntityType, getAssociationKey().getCollectionRole() )
      );
    }

    return associationContext;
View Full Code Here

      else {
        List<String> selectableColumns = new ArrayList<String>( rowKeyColumnNames.length );
        for ( String column : rowKeyColumnNames ) {
          selectableColumns.add( column );
        }
        associationContext = new AssociationContext( selectableColumns );
      }
    }
    return associationContext;
  }
View Full Code Here

    }
    columns = getElementColumnNames();
    for ( String column : columns ) {
      selectableColumns.add( column );
    }
    return new AssociationContext( selectableColumns );
  }
View Full Code Here

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

      associationContext = new AssociationContext(
          new PropertyOptionsContext( serviceContext, hostingEntityType, getAssociationKey().getCollectionRole() )
      );
    }

    return associationContext;
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.datastore.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.