Please consider the following example.
@Entity public class Abc { @Id private Long id; @Unindexed private String name; @Embedded private Map<String, Xyz> objs; } public class Xyz { private String objName; private String objStatus; }
Now I want an Abc object such that objs.get("someKey").getObjName().equals("someName") is true.
How to make this request in Objectify? Also, if I save "objs" as a list instead of a map, can I query the Abc object so that one of the list values has objName as "someName"? Need help with this. Thanks
source share