Note that there are some explanatory texts on larger screens.

plurals
  1. POAppengine jdoconfig.xml for local database
    text
    copied!<p>Has anyone successfully configured JDO datanucleus default to google app engine to work on a local database?</p> <p>Why am I always getting an error in jdoconfig.xml when I have specified the property "datanucleus.storeManagerType" with value "rdbms." at the end part.</p> <p>I tried googling but seems no luck.</p> <p>Caused by: org.datanucleus.exceptions.NucleusUserException: There is no available StoreManager of type "rdbms". Please make sure you have specified "datanucleus.storeManagerType" correctly and that all relevant plugins are in the CLASSPATH </p> <pre><code>&lt;persistence-manager-factory name="postgresql"&gt; &lt;property name="datanucleus.mapping.Schema" value="jdo"/&gt; &lt;property name="javax.jdo.PersistenceManagerFactoryClass" value="org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory"/&gt; &lt;property name="datanucleus.ConnectionDriverName" value="org.postgresql.Driver"/&gt; &lt;property name="datanucleus.ConnectionURL" value="jdbc:postgresql://localhost:5432/jdo"/&gt; &lt;property name="datanucleus.ConnectionUserName" value="jdo"/&gt; &lt;property name="datanucleus.ConnectionPassword" value="jdo"/&gt; &lt;property name="datanucleus.appengine.autoCreateDatastoreTxns" value="true"/&gt; &lt;property name="datanucleus.autoStartMechanism" value="None"/&gt; &lt;property name="datanucleus.autoCreateSchema" value="true"/&gt; &lt;property name="datanucleus.validateTables" value="true"/&gt; &lt;property name="datanucleus.validateConstraints" value="true"/&gt; &lt;property name="datanucleus.validateColumns" value="true"/&gt; &lt;property name="datanucleus.DetachAllOnCommit" value="true"/&gt; &lt;property name="datanucleus.maxFetchDepth" value="1"/&gt; &lt;property name="datanucleus.storeManagerType" value="rdbms"/&gt; </code></pre> <p> </p> <p>code for PMF.java</p> <pre><code>private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory("postgresql"); </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload