Package org.hibernate.ogm.dialect.impl

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


  private Tuple getTuple(String collectionName, String id, List<String> selectedColumns) {
    EntityKey key = new EntityKey(
        new EntityKeyMetadata( collectionName, new String[] { MongoDBDialect.ID_FIELDNAME } ),
        new Object[] { id }
    );
    TupleContext tupleContext = new TupleContextImpl(
        selectedColumns,
        Collections.<String, AssociatedEntityKeyMetadata>emptyMap(),
        Collections.<String, String>emptyMap(),
        EmptyOptionsContext.INSTANCE
    );
View Full Code Here


  private GridDialectOperationContexts() {
  }

  public static TupleContext emptyTupleContext() {
    return new TupleContextImpl(
        Collections.<String>emptyList(),
        Collections.<String, AssociatedEntityKeyMetadata>emptyMap(),
        Collections.<String, String>emptyMap(),
        EmptyOptionsContext.INSTANCE
    );
View Full Code Here

          roles.put( column, getPropertyNames()[index] );
        }
      }
    }

    return new TupleContextImpl(
        selectableColumnNames( discriminator ),
        associatedEntityKeyMetadata,
        roles,
        optionsService.context().getEntityOptions( getMappedClass() )
    );
View Full Code Here

TOP

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

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.