在使用JDO的googleappengine中,是否可以在模型与其他模型之间建立多种关系?:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class User {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key id;
@Persistent
private String nickname;
@Persistent(mappedBy = "user")
private List<Project> projects;
@Persistent(mappedBy = "user")
private List<File> files;
@Persistent(mappedBy = "user")
private Config config;
....
我遇到了问题,我不确定是不是因为appengine不支持这种关系。