Hi Rajesh,

Currently, there is no programmatic to get the entities or the number of 
entities involved in a Datastore transaction, but you should be able to 
determine them and their number in your own code through explicit design:

   - No more than 25 entities in a transaction if using top-level entities

   - No more than 25 distinct parents if using child entities

Note that there was a feature request for “System limits should be 
available via constants” previously made on the Google Cloud API 
third-party site and can be followed here 
<https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/121>. 
However, if you would like to submit your own FR for retrieving datastore 
entities via a flag in an App Engine application, you can do so on this Public 
Issue Tracker 
<https://code.google.com/p/googleappengine/issues/entry?template=Feature%20request>.
 


Also, if by any chance you are using the Java Standard Environment, make 
sure to enable the cross-group transactions option 
<https://cloud.google.com/appengine/docs/java/datastore/transactions#using_cross-group_transactions>
 
allowing to operate across multiple entity groups. See here 
<https://cloud.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/TransactionOptions>
 
for more information about transaction options available to this 
environment.

Regards,
Alex

-- 
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/a4e5fe82-119d-4bb3-9682-a2323509dbf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to