Examples of BidirectionalChildSetJPA


Examples of com.google.appengine.datanucleus.test.jpa.BidirectionalChildSetJPA

    testOnlyOneParentPutOnParentAndChildUpdate(new HasOneToManySetJPA(), new BidirectionalChildSetJPA(),
                                     NEW_EM_START_END);
  }

  public void testOnlyOnePutOnChildUpdate() throws Throwable {
    testOnlyOnePutOnChildUpdate(new HasOneToManySetJPA(), new BidirectionalChildSetJPA(),
                                TXN_START_END);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jpa.BidirectionalChildSetJPA

  public void testOnlyOnePutOnChildUpdate() throws Throwable {
    testOnlyOnePutOnChildUpdate(new HasOneToManySetJPA(), new BidirectionalChildSetJPA(),
                                TXN_START_END);
  }
  public void testOnlyOnePutOnChildUpdate_NoTxn() throws Throwable {
    testOnlyOnePutOnChildUpdate(new HasOneToManySetJPA(), new BidirectionalChildSetJPA(),
                                     NEW_EM_START_END);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jpa.BidirectionalChildSetJPA

  }

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

Examples of com.google.appengine.datanucleus.test.jpa.BidirectionalChildSetJPA

  }

  public void testOnlyOneParentPutOnChildDelete_NoTxn() throws Throwable {
    // updates aren't necessarily atomic when non-tx, so get 1 after each collection clear.
    int expectedUpdatePuts = 5;
    testOnlyOneParentPutOnChildDelete(new HasOneToManySetJPA(), new BidirectionalChildSetJPA(),
                                     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.