Comment 16 for bug 788590

Revision history for this message
Scott Ritchie (sritchie) wrote : Re: [Bug 788590] Re: Lots of UserGameProfiles created simultaneously

Right, I mean the parent can only "own" one child, not multiple, and
that an entity can only be "owned" by one other.

On 31/05/2011, at 1:05 PM, Matt Giuca <email address hidden> wrote:

> What is an "owned child"? That sounds contradictory (or rather, the
> idea that a parent owns its child is OK, but the idea that the child
> owns its parent is not). I think a two-way one-to-many relationship
> can be modelled but it needs to be the case that the "one" is the
> parent of the "many". This means that the "one" would have a set of
> keys linking it back to the "many", but they would just be keys, not
> objects in the way that the child would refer to the parent.
>
> I don't know if JDO was a mistake. It seems like an annoying
> abstraction -- it's a nice way of thinking about things, but then they
> break and you need to know about the details under the abstraction. An
> abstraction where you need to know the details underneath is worse
> than no abstraction at all. It looks like Java App Engine gives you a
> much lower level view of the datastore, but it is too low! The Python
> App Engine gives you a middle-level view (somewhere in between the
> Java low-level view and the JDO view), which seems about right. So I
> very much prefer the Python App Engine.
>
> --
> You received this bug notification because you are subscribed to
> MUGLE.
> https://bugs.launchpad.net/bugs/788590
>
> Title:
> Lots of UserGameProfiles created simultaneously
>
> Status in Mars Programming Language:
> Invalid
> Status in Melbourne University Game-based Learning Environment:
> Triaged
>
> Bug description:
> For every "real" user game profile created, there are about 10
> completely blank ones, without even a user.