I have a number of JUnit tests in my project that test my DataStore services. For the past two years, they've been working just fine and I've been able to successfully insert, query, and delete entities through unit tests. A couple of days ago I upgraded to App Engine 1.7 and all of a sudden all of my tests throw a NullPointerException because
Persistence.createEntityManagerFactory("transactions-optional") returns null. My persistence.xml file contains the following configuration which like I said, has worked perfectly up until the upgrade.
<persistence-unit name="transactions-optional">
<provider>org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider</provider>
<properties>
<property name="datanucleus.NontransactionalRead" value="true"/>
<property name="datanucleus.NontransactionalWrite" value="true"/>
<property name="datanucleus.ConnectionURL" value="appengine"/>
</properties>
</persistence-unit>
Also, I walked through the GAE testing setup article and I do have all of the required jar files on my class path. Any idea what could have changed in the upgrade?