Hi,
  You might want to include some of the relevant code, such as your
model definitions and the code that sets and persists the entities.
Also note that there is a Java specific group; might have a better
chance of a Java whiz spotting it and helping you out there.


Robert






On Tue, Jun 14, 2011 at 12:45, david <[email protected]> wrote:
> Hi,
>
> I have 3 classes: MyClass, MySubClass and ProblemClass
> The first one have two MySubClass objects: MySubClass1 and MySubClass2
> Each MySubClass has a ProblemClass object: ProblemClass1 and
> ProblemClass2
>
> Just before call 'manager.makePersistent(MyClass);' I checked the
> attribute in both ProblemClass objects and they were differents (That
> ´s OK).
> But when I tried to recover MyClass object from the datatore the
> attributes inside the ProblemClass objects are equal (THAT'S WRONG).
> Both ProblemClass have the values of ProblemClass2
>
> Checking the datastore I saw both ProblemClass objects were created
> (With correct values), however MySubClass1 and MySubClass2 seems to be
> pointing to the same ProblemClass
>
> All classes have the same key type:
>
> @PrimaryKey
> @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
> private Key key;
>
> Am I doing something wrong? Is something  missing to work with same
> type relations? Definitely AppEngine doesn't allow same type
> relations?
>
> PLS HELP!!!!! I'm really stuck!!!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" 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?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to