Tuesday, June 1, 2010

Re: Updating Google App Engine datastore

I'm wondering about the same problem. Actually you should ask this question on the GAE list, not on the GWT list.

Also when you ask the question, it would help to know which persistence API you are using.

2010/6/1 Víctor Mayoral <v.mayoralv@gmail.com>
Could anyone please give me a hand on this?
I'm not sure about the path i should follow

Thanks

On 31 mayo, 19:29, Víctor Mayoral <v.mayor...@gmail.com> wrote:
> Hello,
> I've just an applications using GWT and GAE. After reading the docs
> and doing some examples I decided to begin coding but soon I reach
> something tricky.
>
> My application data would be at the GAE datastore. I want to assume
> that the app "will live". Let me explain this:
> The entities at the datastore will change. This means that some
> properties would be added and some of them maybe removed what leaves
> me with a ton of exceptions to handle. Knowing this, which should be
> the way to update the datastore entities? One by one after a change is
> made? Should I handle exceptions and then change just the entitie
> requested? Is there a way to do this cleaner?
>
> I've been thinking about how to do this stuff with my actual knowledge
> and i think that the most logical way to proceed is get the object,
> remove it from the database, create a new one based on this old object
> and then persist it again.
>
> To sum up the question is about if there's a way to add a property to
> an stored entitie in the datastore (GAE) easily.
>
> I hope you to understand my lines. Any suggestion would be
> appreciated.
>
> Thanks,
>
> Víctor.

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


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

No comments:

Post a Comment