I have a class which has a collection of itself as its children. It is
mapped as :
@Persistent
private Group parent;
@Persistent(mappedBy= "parent")
private List<Group> children;
The problem is I cannot insert the root object. The call to
makePersistent comes back successfully, but the entity is not in the
database. I guess this object with this mapping can not have null
parents. Is there anyway I can make the parent nullable?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---