Yes, this works as expected. executeUpdate is different from normal select native queries. If you use executeUpdate with native queries, all entity caches will be invalidated. It makes sense if you step back and think about it.