Package com.google.appengine.datanucleus.test.jdo

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


    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testInsertNewParentAndChild(NEW_PM_START_END);
  }
  private void testInsertNewParentAndChild(StartEnd startEnd) throws EntityNotFoundException {
    HasOneToManyArrayJDO parent = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidirChild = new BidirectionalChildArrayJDO();
    testInsert_NewParentAndChild(parent, bidirChild, startEnd);
  }
View Full Code Here


    testInsert_NewParentAndChild(parent, bidirChild, startEnd);
  }

  public void testInsertExistingParentNewChild() throws EntityNotFoundException {
    HasOneToManyArrayJDO parent = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidirChild = new BidirectionalChildArrayJDO();
    testInsert_ExistingParentNewChild(parent, bidirChild, TXN_START_END);
  }
View Full Code Here

    testInsert_ExistingParentNewChild(parent, bidirChild, TXN_START_END);
  }

  public void xxxtestSwapAtPosition_Array() throws EntityNotFoundException {
    HasOneToManyArrayJDO parent = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidirChild = new BidirectionalChildArrayJDO();
    BidirectionalChildArrayJDO bidirChild2 = new BidirectionalChildArrayJDO();
    testSwapAtPosition(parent, bidirChild, bidirChild2, TXN_START_END);
  }
View Full Code Here

  }

  // TODO(maxr): Doesn't work for RDBMS either.  Submit bug to Andy.
  public void xxxtestRemoveAtPosition_Array() throws EntityNotFoundException {
    HasOneToManyArrayJDO parent = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidirChild = new BidirectionalChildArrayJDO();
    BidirectionalChildArrayJDO bidirChild2 = new BidirectionalChildArrayJDO();
    BidirectionalChildArrayJDO bidirChild3 = new BidirectionalChildArrayJDO();
    testRemoveAtPosition(parent, bidirChild, bidirChild2, bidirChild3, TXN_START_END);
  }
View Full Code Here

    testRemoveAtPosition(parent, bidirChild, bidirChild2, bidirChild3, TXN_START_END);
  }

  public void testAddAtPosition_Array() throws EntityNotFoundException {
    HasOneToManyArrayJDO parent = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidirChild = new BidirectionalChildArrayJDO();
    BidirectionalChildArrayJDO bidirChild2 = new BidirectionalChildArrayJDO();
    testAddAtPosition(parent, bidirChild, bidirChild2, TXN_START_END);
  }
View Full Code Here

    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testUpdateUpdateChildWithMerge(NEW_PM_START_END);
  }
  private void testUpdateUpdateChildWithMerge(StartEnd startEnd) throws EntityNotFoundException {
    HasOneToManyArrayJDO pojo = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidir = new BidirectionalChildArrayJDO();
    testUpdate_UpdateChildWithMerge(pojo, bidir, startEnd);
  }
View Full Code Here

    getExecutionContext().setProperty(PROP_DETACH_ON_CLOSE, true);
    testUpdateUpdateChild(NEW_PM_START_END);
  }
  private void testUpdateUpdateChild(StartEnd startEnd) throws EntityNotFoundException {
    HasOneToManyArrayJDO pojo = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidir = new BidirectionalChildArrayJDO();
    testUpdate_UpdateChild(pojo, bidir, startEnd);
  }
View Full Code Here

  }

  // TODO(maxr) This doesn't work for RDBMS either.  Submit bug to Andy.
  public void xxxtestUpdateNullOutChildren() throws EntityNotFoundException {
    HasOneToManyArrayJDO pojo = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidir = new BidirectionalChildArrayJDO();
    testUpdate_NullOutChildren(pojo, bidir, TXN_START_END);
  }
View Full Code Here

  // DataNucleus doesn't detect changes to array elements
  // so this won't work.
  public void xxxtestUpdateClearOutChildren() throws EntityNotFoundException {
    HasOneToManyArrayJDO pojo = new HasOneToManyArrayJDO();
    BidirectionalChildArrayJDO bidir = new BidirectionalChildArrayJDO();
    testUpdate_ClearOutChildren(pojo, bidir, TXN_START_END);
  }
View Full Code Here

TOP

Related Classes of com.google.appengine.datanucleus.test.jdo.BidirectionalChildArrayJDO

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.