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