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

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


import com.google.appengine.datanucleus.test.jdo.Issue125Entity;

public class Issue125Test extends JDOTestCase {

  public void testInsert() {
    Issue125Entity pojo = new Issue125Entity();
    assertNull(pojo.getKey());

    beginTxn();
    pm.makePersistent(pojo);
    commitTxn();
    assertNotNull(pojo.getKey());
  }
View Full Code Here

TOP

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

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.