Examples of HasOneToManyWithSeparateNameFieldJDO


Examples of com.google.appengine.datanucleus.test.jdo.HasPolymorphicRelationsListJDO.HasOneToManyWithSeparateNameFieldJDO

    testDeleteChildWithSeparateNameField(startEnd, new UnidirBottomEncodedStringPkSeparateNameField());
  }

  private void testDeleteChildWithSeparateNameField(StartEnd startEnd,
      UnidirTopEncodedStringPkSeparateNameField child) {
    HasOneToManyWithSeparateNameFieldJDO parent = new HasOneToManyWithSeparateNameFieldJDO();
    child.setName("the name");
    parent.getChildren().add(child);
    startEnd.start();
    pm.makePersistent(parent);
    startEnd.end();
    startEnd.start();
    parent = pm.getObjectById(HasOneToManyWithSeparateNameFieldJDO.class, parent.getId());
    pm.deletePersistent(parent);
    startEnd.end();
  }
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.