Hi, 1. Is it always necessary to define an entity group in order to use transactions for multiple entities? If so, then is it possible to define entity groups specific to the operation on the entities? i.e have define entity group for update but not delete? e.g. update of a parent's properties need not require any update of the child (in a one- many unowned relationship) whereas deleting a parent cascaded to all its children.
As per documentation at : http://code.google.com/appengine/docs/java/datastore/relationships.html#Unowned_Relationships "Second, all objects must belong to the same entity group in order to perform an atomic update of objects on both sides of the relationship." 2. For defining entity groups it is also mandated that we need to model the key field as a : Key or an encoded String as a Key. However we can model the key fields of unowned relationships as Long/numeric. If we use numeric keys for unowned relationships, then does it mean that we cannot use transactions for the same. -- 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.
