【发布时间】:2010-08-06 13:18:22
【问题描述】:
我的理解是,在 GAE JPA 支持下我不能:
@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>();
}
我正在尝试建立联系关系。我是否正确理解以上是不允许的?
如果是这样,Set<String> contactsIds 会被允许吗?
可以提供一个工作示例吗?
【问题讨论】:
标签: google-app-engine jpa google-cloud-datastore