6 messages in com.googlegroups.google-appengine[google-appengine] Re: Defining an En...
FromSent OnAttachments
Yagiz Erkan30 Jun 2008 04:29 
g-man05 Jul 2008 20:18 
David Symonds05 Jul 2008 21:39 
Yagiz Erkan06 Jul 2008 12:08 
g-man06 Jul 2008 15:25 
David Symonds07 Jul 2008 01:52 
Subject:[google-appengine] Re: Defining an Entity Group
From:g-man (greg@gmail.com)
Date:07/06/2008 03:25:30 PM
List:com.googlegroups.google-appengine

Hi,

My question is going to this:

Can different entity kinds be part of a group?

I have blog Items, and each Item can have Comments (which have a ReferenceProperty to the 'parent' Item).

I want to delete an Item and all its Comments, so I thought an entity group would be good to run in a transaction, otherwise if there was a problem, I could be left with orphaned Comments (without an Item), or an Item with missing Comments.

As I experiment with this, I'm not getting the entity group membership set or acknowledged, and when I try the transaction, I get an error. I fear that only entities of one kind can belong to a group, but what's the good of that in my case, and how do I do my transaction with safety otherwise?

Any ideas?

Thanks!

On Jul 6, 12:09 pm, "Yagiz Erkan" <yagi@gmail.com> wrote:

Yes, I discovered that just after sending the message. I apologize... Following the good netiquette I should've replied to my own message for the others... which I usually do when my question is unanswered but I forgot it this time...

Thanks Dave!

- Yagiz -