Hello,
Is it possible to have 2 bi-directional one-to-many relationships:?When I
added the 2nd bi-directional one-to-many relationship it is failing..any
examples of how to handle this?

Example:

User.java
-----------------
 @Persistent(mappedBy = "userA") //bi-directional relationship
  @Element(dependent = "true")
  private Set<Activity> activities = new HashSet<Activity>();


@Persistent(mappedBy = "userR") //bi-directional relationship
  @Element(dependent = "true")
  private Set<Resource1> resources = new HashSet<Resource1>();

Thanks,
Sumi

-- 
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.

Reply via email to