If the provided value is greater than {@code 0}, then {@link javax.persistence.EntityManager#flush()} will be called after persistence operations as well as within batch operations.