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 google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to