ofy().transact(new VoidWork() {
@Override
public void vrun() {
log.debug("Syncing " + wikiPlace);
Place place = ofy().load().type(Place.class).id(wikiPlace.getId()).now();
if (place == null) {
ofy().save().entity(new Place(wikiPlace));
} else {
place.updateFrom(wikiPlace);
}
}
});
}