While I am reading the legacy code of a Spring application, I find the entityManager.flushmethod is invoked in a method, which is annotated by @Transaction. I guess
entityManager.flush