I am using App Engine SDK 1.2.5 with Eclipse-Galileo on Windows Vista with the following (simplified/stripped) code:
import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; @PersistenceCapable(identityType = IdentityType.APPLICATION) public class FooDb { @PrimaryKey @Persistent private String id; @Persistent private String name; public FoafIndexDb(String id, String name) { this.id = id; this.name = name; } } ////////////////////////////////////////////////////////////////////// import javax.jdo.JDOHelper; import javax.jdo.PersistenceManagerFactory; public final class PMF { public static PersistenceManagerFactory get() { return pmfInstance; } private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory("transactions-optional"); } ////////////////////////////////////////////////////////////////////// PersistenceManager pm = PMF.get().getPersistenceManager(); FooDb fooDb = new FooDb ("key", "name"); try { pm.makePersistent(foafIndexDb); } finally { pm.close(); } ////////////////////////////////////////////////////////////////////// The output from DataNucleus Enhancement during build: DataNucleus Enhancer (version 1.1.4) : Enhancement of classes DataNucleus Enhancer completed with success for 1 classes. Timings : input=147 ms, enhance=29 ms, total=176 ms. Consult the log for full details ////////////////////////////////////////////////////////////////////// The output during execution: 0 [btpool0-3] DEBUG DataNucleus.Connection - Registered transactional connection factory under name "appengine" 1 [btpool0-3] DEBUG DataNucleus.Connection - Registered nontransactional connection factory under name "appengine" 395 [btpool0-3] DEBUG DataNucleus.Connection - Connection added to the pool : org.datanucleus.store.appengine.DatastoreConnectionFactoryImpl $datastoremanagedconnect...@1a2d209 399 [btpool0-3] DEBUG DataNucleus.Connection - Connection found in the pool : org.datanucleus.store.appengine.DatastoreConnectionFactoryImpl $datastoremanagedconnect...@1a2d209 399 [btpool0-3] DEBUG DataNucleus.Connection - Connection found in the pool : org.datanucleus.store.appengine.DatastoreConnectionFactoryImpl $datastoremanagedconnect...@1a2d209 597 [btpool0-3] DEBUG DataNucleus.Connection - Connection found in the pool : org.datanucleus.store.appengine.DatastoreConnectionFactoryImpl $datastoremanagedconnect...@1a2d209 601 [btpool0-3] DEBUG DataNucleus.Reachability - Performing check of objects for "persistence-by-reachability" (commit) ... 601 [btpool0-3] DEBUG DataNucleus.Reachability - Completed check of objects for "persistence-by-reachability" (commit). ////////////////////////////////////////////////////////////////////// THE PROBLEM: No (data) file created after running the above. war\WEB-INF\appengine-generated\ folder only has datastore-indexes- auto.xml which contains the following: <!-- Indices written at Wed, 16 Sep 2009 17:58:16 UTC --> <datastore-indexes/> I am new on this. What did I miss? Thanks in advance for your help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. 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 -~----------~----~----~----~------~----~------~--~---