Skip to main content
Version: 5.9

FlushMode

Index

Enumeration Members

Enumeration Members

ALWAYS

ALWAYS: 2

Flushes the EntityManager before every query.

AUTO

AUTO: 1

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

COMMIT

COMMIT: 0

The EntityManager tries to delay the flush until the current Transaction is committed, although it might flush prematurely too.

Page Options