Package org.hibernate.ogm.model.impl

Examples of org.hibernate.ogm.model.impl.RowKeyBuilder.values()


    // columns of referenced key
    final Object element = collection.getElement( entry );
    getElementGridType().nullSafeSet( associationRow, element, getElementColumnNames(), session );

    RowKeyAndTuple result = new RowKeyAndTuple();
    result.key = rowKeyBuilder.values( associationRow ).build();
    result.tuple = associationRow;

    associationPersister.getAssociation().put( result.key, result.tuple );

    return result;
View Full Code Here


          throw new AssertionFailure( "cannot use a formula-based element in the where condition" );
        }
        getElementGridType().nullSafeSet( tuple, snapshotElement, getElementColumnNames(), session );
      }
    }
    rowKeyBuilder.values( tuple );
    return rowKeyBuilder.build();
  }

  private RowKey getTupleKeyForDelete(Serializable key, PersistentCollection collection, SessionImplementor session, Object entry, boolean findByIndex, AssociationPersister associationPersister) {
    RowKeyBuilder rowKeyBuilder = initializeRowKeyBuilder();
View Full Code Here

          throw new AssertionFailure( "cannot use a formula-based element in the where condition" );
        }
        getElementGridType().nullSafeSet( tuple, snapshotElement, getElementColumnNames(), session );
      }
    }
    rowKeyBuilder.values( tuple );
    return rowKeyBuilder.build();
  }

  @Override
  public int getSize(Serializable key, SessionImplementor session) {
View Full Code Here

    // columns of referenced key
    final Object element = collection.getElement( entry );
    getElementGridType().nullSafeSet( associationRow, element, getElementColumnNames(), session );

    RowKeyAndTuple result = new RowKeyAndTuple();
    result.key = rowKeyBuilder.values( associationRow ).build();
    result.tuple = associationRow;

    associationPersister.getAssociation().put( result.key, result.tuple );

    return result;
View Full Code Here

          throw new AssertionFailure( "cannot use a formula-based element in the where condition" );
        }
        getElementGridType().nullSafeSet( tuple, snapshotElement, getElementColumnNames(), session );
      }
    }
    rowKeyBuilder.values( tuple );
    return rowKeyBuilder.build();
  }

  private RowKey getTupleKeyForDelete(Serializable key, PersistentCollection collection, SessionImplementor session, Object entry, boolean findByIndex, AssociationPersister associationPersister) {
    RowKeyBuilder rowKeyBuilder = initializeRowKeyBuilder();
View Full Code Here

          throw new AssertionFailure( "cannot use a formula-based element in the where condition" );
        }
        getElementGridType().nullSafeSet( tuple, snapshotElement, getElementColumnNames(), session );
      }
    }
    rowKeyBuilder.values( tuple );
    return rowKeyBuilder.build();
  }

  @Override
  public int getSize(Serializable key, SessionImplementor session) {
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.