setFlushMode(flushMode) - JPA EntityManager's method

Method
javax.persistence.EntityManager
void setFlushMode(
  FlushModeType flushMode
)

Set the flush mode that applies to all objects contained in the persistence context.
Parameters:
flushMode - flush mode
Since:
JPA 1.0