Examples of BidirTopList


Examples of com.google.appengine.datanucleus.test.jpa.BidirectionalSingleTableChildListJPA.BidirTopList

  }
  public void testOnlyOnePutOnChildUpdate_NoTxn() throws Throwable {
    testOnlyOnePutOnChildUpdate(NEW_EM_START_END);
  }
  private void testOnlyOnePutOnChildUpdate(StartEnd startEnd) throws Throwable {
    testOnlyOnePutOnChildUpdate(new HasOneToManyListJPA(), new BidirTopList(),
  startEnd);
    testOnlyOnePutOnChildUpdate(new HasOneToManyListJPA(), new BidirMiddleList(),
  startEnd);
    testOnlyOnePutOnChildUpdate(new HasOneToManyListJPA(), new BidirBottomList(),
  startEnd);
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jpa.BidirectionalSingleTableChildListJPA.BidirTopList

  }

  public void testOnlyOneParentPutOnChildDelete() throws Throwable {
    // 1 put to remove the keys
    int expectedUpdatePuts = 1;
    testOnlyOneParentPutOnChildDelete(new HasOneToManyListJPA(), new BidirTopList(),
                                      TXN_START_END, expectedUpdatePuts);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jpa.BidirectionalSingleTableChildListJPA.BidirTopList

  }

  public void testOnlyOneParentPutOnChildDelete_NoTxn() throws Throwable {
    // updates are now atomic when non-tx, so get 1 after each collection clear and one for the update.
    int expectedUpdatePuts = 5;
    testOnlyOneParentPutOnChildDelete(new HasOneToManyListJPA(), new BidirTopList(),
                                      NEW_EM_START_END, expectedUpdatePuts);
  }
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.