Note that in ORM, a native update query is mapped to a table and ORM flushes first (and second?) level caches as a protection. We should reuse the same mechanism.