JPA join criteria with datastore in google app engine
问题 Suppose I have 2 JPA classes which model 2 entities in datastore (Google app engine) like these: @Entity public class Clazz { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key classKey; @Basic private String classId; @Basic private String className; @ManyToOne private Subject subject; } @Entity public class Subject { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key subjectKey; @Basic private String subjectId; @Basic private String subjectName; @OneToMany