Package info.archinnov.achilles.test.integration.entity.ClusteredEntityWithCompositePartitionKey

Examples of info.archinnov.achilles.test.integration.entity.ClusteredEntityWithCompositePartitionKey.EmbeddedKey


  @Test
  public void should_persist_and_find() throws Exception {
    long id = RandomUtils.nextLong(0,Long.MAX_VALUE);
    Integer index = 11;
    compoundKey = new EmbeddedKey(id, "type", index);

    entity = new ClusteredEntityWithCompositePartitionKey(id, "type", index, "value");

    manager.insert(entity);
View Full Code Here


  @Test
  public void should_persist_and_get_proxy() throws Exception {
    long id = RandomUtils.nextLong(0,Long.MAX_VALUE);
    Integer index = 11;
    compoundKey = new EmbeddedKey(id, "type", index);

    entity = new ClusteredEntityWithCompositePartitionKey(id, "type", index, "clustered_value");

    manager.insert(entity);
View Full Code Here

  @Test
  public void should_update_modifications() throws Exception {
    long id = RandomUtils.nextLong(0,Long.MAX_VALUE);
    Integer index = 11;
    compoundKey = new EmbeddedKey(id, "type", index);

    entity = new ClusteredEntityWithCompositePartitionKey(id, "type", index, "clustered_value");

    entity = manager.insert(entity);
View Full Code Here

  @Test
  public void should_delete() throws Exception {
    long id = RandomUtils.nextLong(0,Long.MAX_VALUE);
    Integer index = 11;
    compoundKey = new EmbeddedKey(id, "type", index);

    entity = new ClusteredEntityWithCompositePartitionKey(id, "type", index, "clustered_value");

    entity = manager.insert(entity);
View Full Code Here

  @Test
  public void should_delete_by_id() throws Exception {
    long id = RandomUtils.nextLong(0,Long.MAX_VALUE);
    Integer index = 11;
    compoundKey = new EmbeddedKey(id, "type", index);

    entity = new ClusteredEntityWithCompositePartitionKey(id, "type", index, "clustered_value");

    entity = manager.insert(entity);
View Full Code Here

  @Test
  public void should_refresh() throws Exception {
    long id = RandomUtils.nextLong(0,Long.MAX_VALUE);
    Integer index = 11;
    compoundKey = new EmbeddedKey(id, "type", index);

    entity = new ClusteredEntityWithCompositePartitionKey(id, "type", index, "clustered_value");

    entity = manager.insert(entity);
View Full Code Here

TOP

Related Classes of info.archinnov.achilles.test.integration.entity.ClusteredEntityWithCompositePartitionKey.EmbeddedKey

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.