ds.put(e);
}
QueryResultList<Entity> result =
ds.prepare(new Query("Flight")).asQueryResultList(FetchOptions.Builder.withLimit(10));
JDODatastoreBridge bridge = new JDODatastoreBridge();
List<Flight> flights = bridge.toJDOResult(pm, Flight.class, result);
assertEquals(5, flights.size());
String id = flights.get(0).getId();
// make sure these flights are connected
beginTxn();
flights.get(0).setOrigin("lax");