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

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


public class Issue165Test extends JDOTestCase {

  public void testInsert() {
    Issue165Child c = new Issue165Child();
    c.setAString("Child info");
    Issue165Parent p = new Issue165Parent();
    p.setAString("Not important");
    p.setChild(c);
    c.setParent(p);
    assertTrue(p.getChild() == c && c.getParent() == p);

    NucleusLogger.GENERAL.info(">> pm.makePersistent");
    pm.makePersistent(p);
    NucleusLogger.GENERAL.info(">> pm.makePersistent done");
  }
View Full Code Here

TOP

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

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.