Skip to main content
Version: 5.2

constFlushMode

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.