I created a datastore manipulation service that can execute, using the
task queue service, pieces of code found in 'plugins'. I have plugins
for the initial sourcing and some others to create test and demo
data.
I favor this approach over the bulk uploader as you need to also
prepare for the task of upgrading the datamodel and source data of a
live app. So, I deploy new app versions with new plugins and remove
some from the app code when their job is done.
A good usecase would be adding a field to all entities of a given
type, with this field value determine from some other piece of related
data.
R.
On Nov 9, 11:39 pm, Didier Durand wrote:
> Hi,
>
> you can either use bulkloader
> (seehttp://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-eng...)
> or just write the code needed to store your date in the datastore (i.e
> to create the appropriate entities with their values)
> regards
> didier
>
> On Nov 9, 8:40 pm, Blaise Gervais wrote:
>
>
>
> > Helo everyone,
>
> > I wonder about how to initialize the datastore (in Dev mode and on GAE)
> > with some required values. How can I insert entities required for my
> > app like the "root" user or the menu structure, or anything other ?
>
> > Thanks
--
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-j...@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.