I understand 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 am trying to establish a contact relationship. Did I understand correctly that the above is not allowed?
If yes, is it permissible Set<String> contactsIds? Can I provide a working example?
source
share