Erem, You can use the makePersistentAll() method of PersistenceManager to batch put items. See here:
http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Making_Objects_Persistent This was introduced in SDK 1.2.5. On Mon, Nov 23, 2009 at 2:37 PM, Erem <[email protected]> wrote: > Hey all, > > Are there any built in tools in the API to translate a managed JDO > object into a low-level Entity? > > I want to do a batch put of some JDO-managed objects and some low- > level Entities. If I could translate JDO-managed objects into bigtable > Entities, I could do this in one call to the low-level API rather than > one call to persistenceManager.makePersistentAll(Collection) and > another to datastoreService.put(Iterable<Entity>). > > Thanks for the help! > > Erem > > -- > > 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 > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=. > > > -- Ikai Lan Developer Programs Engineer, Google App Engine -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
