Package com.google.appengine.datanucleus.test.jpa

Examples of com.google.appengine.datanucleus.test.jpa.InTheHouseJPA


    // Uninstall this since the test needs to update!
    DatastoreServiceInterceptor.uninstall();

    // force the class metadata to load - we've seen occasional problems
    // where the class can't be resolved for a query if we don't reference it first.
    InTheHouseJPA pojo = new InTheHouseJPA();
    beginTxn();
    em.persist(pojo);
    commitTxn();

    assertNotNull(em.createQuery("select b from InTheHouseJPA b").getResultList().get(0));
View Full Code Here

TOP

Related Classes of com.google.appengine.datanucleus.test.jpa.InTheHouseJPA

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.