I suspect the data is still there, but somehow not visible to your
queries.
For example, following happened in my case: I had a query that
retrieves my (root) entities, but they are ordered by sequence_id . In
1.3.0., this query worked fine even if sequence_id is un-initialized
(is null). With 1.3.1., somehow entities with null sequence_id do not
show up in query results - and in development I had neglected to set
this field at all. So, getting empty results back: and this may lead
you to think that data has been lost.

Though I found out that if I remove "order by" from the query, all
results show up - the data is still there.

Now, from correctness standpoint, excluding "null" entities from
"order by" query is ok - as you can't compare against null (per SQL
rules) - so such rows may be dropped. Anyway, what I did, I wrote a
small migration script to load all my entities, initialize sequence_id
= 0 and save them. And it's now working fine with 1.3.1.

On Feb 17, 9:06 pm, mcrady <[email protected]> wrote:
> Same here.  If I switch back to 1.3.0 the local data is still there.
>
> Any workarounds to get to 1.3.1 with the local data?
>
> On Feb 13, 10:45 am, Brian <[email protected]> wrote:
>
> > My remote datastore kept the data, mylocalone was wiped. Pretty easy
> > to make a script to load a DB with test data, not really a good idea
> > to rely on yourlocaldatastore...
>
> > On Feb 12, 6:32 pm, mably <[email protected]> wrote:
>
> > > Same thing happened to me.
>
> > > Got an emptylocaldatastore after updating to 1.3.1.
>
> > > Hopefully I didn't have much data in it.  But it might not be the case
> > > for everybody.
>
> > > On 12 fév, 09:35, Al Murauski <[email protected]> wrote:
>
> > > > The Development Console tells "The datastore is empty" after updating
> > > > to 1.3.1.
>
> > > > Any ideas why? I need mylocaldata back.
>
> > > > The local_db file is not emoty and contain sthe data it contained
> > > > before 1.3.1 migration.

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

Reply via email to