How to auto-fetch JDO nested collection of entities?
问题 Probably a very trivial problem. I have an object that looks like this: @PersistenceCapable public class Parent { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private String _id; @Persistent private List<Child> _children; //... } ... the nested entity looks like this (I am forced to declare primary key as Key otherwise it won't persist): @PersistenceCapable public class Child { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key _id;