Hi ,

I have this code:
  PersistenceManager pm = PMF.get().
getPersistenceManager();
and this jdoconfig.xml:

<?xml version="1.0" encoding="utf-8"?>
<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/
jdoconfig">

   <persistence-manager-factory name="transactions-optional">
       <property name="javax.jdo.PersistenceManagerFactoryClass"
 
value="org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory"/
>
       <property name="javax.jdo.option.ConnectionURL"
value="appengine"/>
       <property name="javax.jdo.option.NontransactionalRead"
value="true"/>
       <property name="javax.jdo.option.NontransactionalWrite"
value="true"/>
       <property name="javax.jdo.option.RetainValues" value="true"/>
       <property name="datanucleus.appengine.autoCreateDatastoreTxns"
value="true"/>
   </persistence-manager-factory>
</jdoconfig>

I get an error regarding the jdoconfig.xml telling me
that I have indicated "transaction-optional " which is a resource that
is not available.
Is there a resource that I need to add so that I can use it?

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

Reply via email to