Entity e = ds.get(parent.getKey());
assertTrue(e.hasProperty("key"));
}
public void testEmbeddingPCWithIdField() {
EmbeddedParentPC pi = new EmbeddedParentPC();
pi.setChild(new EmbeddedChildPC(1, "Hi"));
// Failed on GAE v1.x
pm.currentTransaction().begin();
pm.makePersistent(pi);
pm.currentTransaction().commit();