public void addCommentToThread(@Nonnull ThreadId threadId, @Nonnull Comment comment) { Query<EntityDiscussionThread> query = createQueryForThread(threadId); UpdateOperations<EntityDiscussionThread> ops = getUpdateOperations().push(COMMENTS, comment); datastore.update(query, ops, false); }