Hi All,
I have roughly the following entities for the accounting application
Invoice {
@id
double amount
}
Payment {
@id
double amount
@embedded
InvoiceApplied[]
}
InvoiceApplied {
Long invoiceId
double appliedamount
}
I get the Payment amount, then I apply the payment amount to various
invoices in the embeded 'InvoiceApplied'. I want to update the status of
the Invoice as 'PAID', if the amount is fully applied for the invoice.
The Invoice and Payment entities are not in the same entitygroup. For
simplicity, I have shown only two entities, but there are 1-2 more entities
which need to be updated as well. I am not making them as part of the same
entity group (by using a common parent). I am refraining to create them
with a common parent key for now, because of the limitations of the
writes/sec on the entitygroup.
What choices I have, to guarantee that the data is updated in all the
entities?
-Aswath
--
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.