return objectIdUpdater.getId(pojo);
}
private DBObject convertToDBObject(Object pojo, Object id) {
BsonDocument document = asBsonDocument(marshaller, pojo);
return new LazyIdDBObject(document.toByteArray(), marshaller, id);
}
private final static class LazyIdDBObject extends LazyWriteableDBObject {
private final Object id;