JPA Methodin jakarta.persistence.EntityManagervoid setFlushMode( FlushModeType flushMode) Set the plain that applies to all objects contained in the persistence context. Parameters:flushMode - flush modeSince:JPA 1.0