Package com.google.appengine.datanucleus.bugs.test

Examples of com.google.appengine.datanucleus.bugs.test.Issue228Owner


public class Issue228Test extends JDOBugTestCase {

  public void testOneToOneBidir() {
    Issue228Related c = new Issue228Related();
    c.setAString("Child info");
    Issue228Owner p = new Issue228Owner();
    p.setAString("Not important");
    p.setChild(c);
    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.bugs.test.Issue228Owner

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.