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

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


    Issue90Parent p = new Issue90Parent();
    p.setName("First Parent");
    pm.makePersistent(p);
    Object id = pm.getObjectId(p);

    Issue90Child c1 = new Issue90Child();
    c1.setName("Child 1");
    Issue90Child c2 = new Issue90Child();
    c2.setName("Child 2");

    p.setChildren(Arrays.asList(c1, c2));
    pm.makePersistent(p);
    pm.close();
View Full Code Here

TOP

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

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.