Hello There,
Is Anyone knows How to replace @Element annotation and mappedBy, defaultFetchGroup of JDO with Objectify. Please check below example.
@Entity
public class TestGCPClass1 implements Serializable {
private Long pId;
@Index
private String name;
//This is below JDO representation, Wants to replace with Objectify
@Persistent(mappedBy = "testGcpClass1", defaultFetchGroup = "true")
@Element(dependent = "true")
private Set<TestUserClass1> users;
//This is below JDO representation, Wants to replace with Objectify
@Persistent(mappedBy = "testGcpClass1", defaultFetchGroup = "true")
@Element(dependent = "true")
private Set<TestGroupClass2> group;
}
@Entity
public class TestUserClass1 implements Serializable {
private Long pId;
@Index
private String name;
//This is below JDO representation, Wants to replace with Objectify
@Persistent
private TestGCPClass1 testGcpClass1;
}