Examples of Issue228Owner


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
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.