On Mon, Feb 10, 2014 at 11:23 AM, Juan de Dios Becerra <
j.becerra4...@gmail.com> wrote:
> It seems like I finally could retrieve an entity and modify the content,
> my actual doubt is how can I retrieve more than 1,000 entities, because I
> got a warning because I have more than 1,000 entitites i
It seems like I finally could retrieve an entity and modify the content, my
actual doubt is how can I retrieve more than 1,000 entities, because I got
a warning because I have more than 1,000 entitites in a kind, how can I
make this?
El viernes, 7 de febrero de 2014 11:10:41 UTC-6, PK escribió:
If you are using one and the same key, you are creating only one entity which
you keep overwriting. Go to the console and look at the entities in the
datastore. By the way I do not see a put() in this code
PK
http://www.gae123.com
On February 7, 2014 at 7:22:26 AM, Juan de Dios Becerra
(j.bece
Yes, but I don't see where to associate the ID, when I create my entities I
use only one key for all the entities, see this snippet:
Key activityData = KeyFactory.createKey("Activity", "ActivityData");
for(int a = 0 a < activities.size(); a++){
Entity activityDesglose = new Entity("Activitie
There is a get() method where you pass the key and get the entity back. This is
described in the docs here:
https://developers.google.com/appengine/docs/java/datastore/entities
Retrieving an entity
To retrieve an entity identified by a given key, pass the Key object to the
DatastoreService.ge
How can I set the ID for an entity? for inserting I create a Key and an
entity:
Key collectionData = KeyFactory.createKey("FinalCount", "FinalCollection");
Entity countData = new Entity("Final", collectionData);
but for set the ID I don't know how, do you have examples?
Thank you.
El miér
On Wed, Feb 5, 2014 at 10:35 AM, Juan de Dios Becerra <
j.becerra4...@gmail.com> wrote:
>
> I have not found a good example of how to update datastore, so I am doing
> manually delete the entities and then insert again I know is completely
> awful for this reason I think it could be a better way, t
I would like to make some kind of dashboard about certain information that
has to be updated every week approximately, but I would like to update the
actual registers not to add more, I have not found a good example of how to
update datastore, so I am doing manually delete the entities and then