Hi,

I have the following datastore entity setup:
- Shop is the root element
- Shop is parent of Settings and Product
- Product is parent of Variant, Option and Image

According to the definition of entity groups "A root entity and all of its 
descendants belong to the same entity group" I assume I have one entity 
group, as the Shop entity has all the other entities as descendants.

But if that is correct, why do I get this error:

operating on too many entity groups in a single transaction.

The documentation states that "All the data accessed by a transaction must 
be contained in at most 25 entity groups", so with only one entity group 
there should be no problem.

Or is this restriction related to the number of rows in the tables? So if a 
query on e.g. Product returns more than 25 rows, then the error occurs?

Maybe my problem is related to the fact that I use cross transactions (
withXG(true)) except in Shop queries, as you cannot create root queries on 
transactions.
(but again - why should it be necessary to use cross transactions, when I 
only have one entity group??)

Any input would be appreciated.

Thanks,
-Louise

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/961fd78a-4665-40df-a2bf-0265c62e4271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to