Thank for your response Vinny. 

I tried getting entities and kinds as you said. I could see the same 
results which I could find in both app engine 'DataStore Statistics' page 
and in my loggers. 

I would like to know one thing, why my 'Kind' and 'Property' names had been 
changed.? 

For instance, I gave my JDO name as 'UserWorkLogs', but it appeared in app 
engine console as 'USERWORKLOGS',
I gave my one of properties name as 'AccessToken', but it got saved as 
'ACCESS_TOKEN'.

As the case-sensitivity was there, after migrating to the JDO 3.0, I was 
unable to fetch the data, which I was able to do before migration. 

By the way, I dint change anything in code for fetching data. I used to 
query like, 

PersistenceManager pm = PersistenceManagerUtil.getPersistanceManager();
Query q = pm.newQuery(UserWorkLogs.class);

The above code gave me all entities in the 'UserWorkLogs' JDO, before 
migration. I was getting empty results after migrating to JDO 3.0

But, I'm able to get the data even after migration with the following code,
PersistenceManager pm = PersistenceManagerUtil.getPersistanceManager();
Query q = pm.newQuery(USERWORKLOGS.class);


Could you please let me know what's the reason behind changing the case of 
Kind and property names.?
Thanks.

On Tuesday, April 21, 2015 at 9:47:51 AM UTC+5:30, Vinny P wrote:
>
> On Mon, Apr 20, 2015 at 8:33 AM, Malleswari Srinivasarao <
> [email protected] <javascript:>> wrote:
>
>> Did necessary configurations for migration. The issue I found now, is 
>> none of the entities are available to query from code. I could see all 
>> kinds and entities present in appengine console, but, when I'm trying to 
>> fetch the data, I'm getting empty results.
>>
>> How can I make my data to be fetchable ?
>>
>
>
> Can you query for and print out all entities with a *kind* of 
> __Stat_Kind__ 
> <https://cloud.google.com/appengine/docs/java/datastore/stats>? This 
> should show a list of the kinds in your application - you may be 
> accidentally querying for the wrong entity kind, or perhaps the migration 
> introduced new/unknown kinds. For each kind that you see, can you try 
> programmatically retrieving a sample of the entities within?
>
>  
>  
> -----------------
> -Vinny P
> Technology & Media Consultant
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e54ef9fe-0bed-4344-9517-e3517c056cca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to