Hey guys.

There are issues going between versions with local data. From what I
remember, there was an issue with the local SDK going between 1.3.7
and 1.3.8. Long term solutions we are considering include better
support for using SQLite as a backend (similar to what Nick did with
the Python SDK).

In the meantime, it is probably a best practice to create fixtures
from which you can create test data. If you're running any kind of
automated testing (say Selenium), this is a practice you're already
familiar with. Would it be helpful if the SDK provided an easier
mechanism for loading data? If I get some time, maybe I'll blog about
how to do this ...

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Mon, Dec 6, 2010 at 5:45 AM, Ian Marshall <ianmarshall...@gmail.com> wrote:
> I have just found that my local datastore test data seems to be
> unaffected so far by my upgrading my GAE/J SDK this morning from 1.3.8
> to 1.4.0. Of course, even if my test data should prove unaffected by
> the latest change in SDK, there is no guarantee of such an outcome for
> any future release.
>
> That being said, I produce my test data when conducting test scripts
> for my web app, so generating a fresh set of test datastore data by
> going through these tests for a new SDK is no bad thing anyway!
>
>
> On Dec 6, 9:21 am, Ian Marshall <ianmarshall...@gmail.com> wrote:
>> Hi Fabrizio,
>>
>> Yes, I do delete the local datastore and create it again. I delete the
>> local datastore by following the instructions given in:
>>
>>  http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht...
>>
>> I then create it again by launching the development application server
>> and then populating my local datastore using my web application.
>>
>> Cheers,
>>
>> Ian
>>
>> On Dec 6, 7:07 am, Fabrizio Accatino <fht...@gmail.com> wrote:
>>
>> > Sorry Ian,
>>
>> > I don't understand.  Do you delete the local datastore and create it again?
>> > If yes, how?
>>
>> > Fabrizio
>>
>> > On Sun, Dec 5, 2010 at 5:16 PM, Ian Marshall 
>> > <ianmarshall...@gmail.com>wrote:
>>
>> > > I have a test local datastore. I also have a procedure now to delete
>> > > this whenever I install a new GAE/J SDK. This solved my problem of
>> > > disappearing test data.
>>
>>
>
> --
> 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.
>
>

-- 
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.

Reply via email to