Skip to main content
Version: Next

FlushMode

Index

Enumeration Members

Enumeration Members

ALWAYS

ALWAYS: always

Flushes the EntityManager before every query.

AUTO

AUTO: auto

This is the default mode, and it flushes the EntityManager only if necessary.

COMMIT

COMMIT: commit

The EntityManager delays the flush until the current Transaction is committed.

Page Options