I'm trying to 

    @Test
    public void doTest() {
        final Flight flight = new Flight("origin", "destination");
        final EntityController ec = new EntityController();
        ec.create(flight);
    }

whereby Flight is a JPA annotated entity but I get this when executing this 
test:

Dec 16, 2011 12:09:21 PM org.datanucleus.plugin.NonManagedPluginRegistry 
resolveConstraints
INFO: Bundle "org.datanucleus" has an optional dependency to 
"org.eclipse.equinox.registry" but it cannot be resolved
Dec 16, 2011 12:09:21 PM org.datanucleus.plugin.NonManagedPluginRegistry 
resolveConstraints
INFO: Bundle "org.datanucleus" has an optional dependency to 
"org.eclipse.core.runtime" but it cannot be resolved
Dec 16, 2011 12:09:22 PM org.datanucleus.plugin.NonManagedPluginRegistry 
resolveConstraints
INFO: Bundle "org.datanucleus" has an optional dependency to 
"org.eclipse.equinox.registry" but it cannot be resolved
Dec 16, 2011 12:09:22 PM org.datanucleus.plugin.NonManagedPluginRegistry 
resolveConstraints
INFO: Bundle "org.datanucleus" has an optional dependency to 
"org.eclipse.core.runtime" but it cannot be resolved
Dec 16, 2011 12:09:22 PM org.datanucleus.PersistenceConfiguration 
setProperty
INFO: Property datanucleus.rdbms.sql.allowAllSQLStatements unknown - will 
be ignored
Dec 16, 2011 12:09:22 PM org.datanucleus.PersistenceConfiguration 
setProperty
INFO: Property datanucleus.rdbms.query.containsUsesExistsAlways unknown - 
will be ignored
Dec 16, 2011 12:09:22 PM org.datanucleus.PersistenceConfiguration 
setProperty
INFO: Property datanucleus.rdbms.stringDefaultLength unknown - will be 
ignored
Dec 16, 2011 12:09:22 PM org.datanucleus.ObjectManagerFactoryImpl 
logConfiguration
INFO: ================= Persistence Configuration ===============
Dec 16, 2011 12:09:22 PM org.datanucleus.ObjectManagerFactoryImpl 
logConfiguration
INFO: DataNucleus Persistence Factory - Vendor: "DataNucleus"  Version: 
"1.1.5"
Dec 16, 2011 12:09:22 PM org.datanucleus.ObjectManagerFactoryImpl 
logConfiguration
INFO: DataNucleus Persistence Factory initialised for datastore 
URL="appengine" driver="" userName=""
Dec 16, 2011 12:09:22 PM org.datanucleus.ObjectManagerFactoryImpl 
logConfiguration
INFO: ===========================================================
Dec 16, 2011 12:09:22 PM org.datanucleus.PersistenceConfiguration 
setProperty
INFO: Property datanucleus.appengine.autoCreateDatastoreTxns unknown - will 
be ignored
Dec 16, 2011 12:09:22 PM org.datanucleus.PersistenceConfiguration 
setProperty
INFO: Property datanucleus.query.cached unknown - will be ignored
Dec 16, 2011 12:09:22 PM org.datanucleus.jpa.metadata.JPAAnnotationReader 
processClassAnnotations
INFO: Class "com.google.appengine.demos.helloorm.Flight" has been specified 
with JPA annotations so using those.

*com.google.apphosting.api.ApiProxy$CallNotFoundException: The API package 
'datastore_v3' or call 'BeginTransaction()' was not found.*
at 
com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.callInternal(ApiProxyLocalImpl.java:475)
at 
com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.call(ApiProxyLocalImpl.java:452)
at 
com.google.appengine.tools.development.ApiProxyLocalImpl$AsyncApiCall.call(ApiProxyLocalImpl.java:430)
at 
java.util.concurrent.Executors$PrivilegedCallable$1.run(Executors.java:463)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.util.concurrent.Executors$PrivilegedCallable.call(Executors.java:460)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)`

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/lD2qtD4goMAJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to