Examples of HasOneToManyListJDO


Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

    switchDatasource(PersistenceManagerFactoryName.nontransactional);
    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testNewParentNewChild_NamedKeyOnChild(NEW_PM_START_END);
  }
  private void testNewParentNewChild_NamedKeyOnChild(StartEnd startEnd) throws EntityNotFoundException {
    testNewParentNewChild_NamedKeyOnChild(new HasOneToManyListJDO(), startEnd);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

    assertEquals(Flight.class.getName(), 1, countForClass(Flight.class));
    assertEquals(HasKeyPkJDO.class.getName(), 1, countForClass(HasKeyPkJDO.class));
  }

  public void testAddAlreadyPersistedChildToParent_NoTxnSamePm() {
    testAddAlreadyPersistedChildToParent_NoTxnSamePm(new HasOneToManyListJDO());
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

  public void testAddAlreadyPersistedChildToParent_NoTxnSamePm() {
    testAddAlreadyPersistedChildToParent_NoTxnSamePm(new HasOneToManyListJDO());
  }

  public void testAddAlreadyPersistedChildToParent_NoTxnDifferentPm() {
    testAddAlreadyPersistedChildToParent_NoTxnDifferentPm(new HasOneToManyListJDO());
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testAddQueriedParentToBidirChild(NEW_PM_START_END);
  }
  private void testAddQueriedParentToBidirChild(StartEnd startEnd) throws EntityNotFoundException {
    testAddQueriedParentToBidirChild(
        new HasOneToManyListJDO(), new BidirectionalChildListJDO(), startEnd);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testAddFetchedParentToBidirChild(NEW_PM_START_END);
  }
  private void testAddFetchedParentToBidirChild(StartEnd startEnd) throws EntityNotFoundException {
    testAddFetchedParentToBidirChild(
        new HasOneToManyListJDO(), new BidirectionalChildListJDO(), startEnd);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

  }
  private void testReplaceBidirColl(StartEnd startEnd) {
    Collection<BidirectionalChildJDO> childList = Utils.<BidirectionalChildJDO>newArrayList(
        new BidirectionalChildListJDO(), new BidirectionalChildListJDO());
    testReplaceBidirColl(
        new HasOneToManyListJDO(), new BidirectionalChildListJDO(), childList, startEnd);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testOnlyOneParentPutOnParentAndChildUpdate(NEW_PM_START_END);
  }
  private void testOnlyOneParentPutOnParentAndChildUpdate(StartEnd startEnd) throws Throwable {
    testOnlyOneParentPutOnParentAndChildUpdate(
        new HasOneToManyListJDO(), new BidirectionalChildListJDO(), startEnd);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testOnlyOnePutOnChildUpdate(NEW_PM_START_END);
  }
  private void testOnlyOnePutOnChildUpdate(StartEnd startEnd) throws Throwable {
    testOnlyOnePutOnChildUpdate(
        new HasOneToManyListJDO(), new BidirectionalChildListJDO(), startEnd);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testOnlyOneParentPutOnChildDelete(NEW_PM_START_END);
  }
  private void testOnlyOneParentPutOnChildDelete(StartEnd startEnd) throws Throwable {
    testOnlyOneParentPutOnChildDelete(
        new HasOneToManyListJDO(), new BidirectionalChildListJDO(), startEnd);
  }
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jdo.HasOneToManyListJDO

    testOnlyOneParentPutOnChildDelete(
        new HasOneToManyListJDO(), new BidirectionalChildListJDO(), startEnd);
  }

  public void testNonTxnAddOfChildToParentFailsPartwayThrough() throws Throwable {
    testNonTxnAddOfChildToParentFailsPartwayThrough(new HasOneToManyListJDO());
  }
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.