My understanding is that with GAE JPA support I cannot:
@ManyToMany
private Set<SSUser> contacts;
protected SSUser(){}
public SSUser(final String userId, final String emailId){
this.userId = userId;
this.emailId = emailId;
contacts = new HashSet<SSUser>();
}
I'm trying to establish a contacts relationship. Did I correctly understand that the above is not allowed?
If so, would Set<String> contactsIds
be allowed?
Could I be provided a working example?