dao: add shortcuts to flush mode methods on entity manager