Get the flush mode in effect for the query execution. If a flush mode has not been set for the query object, returns the flush mode in effect for the entity manager.
- Returns:
- flush mode.
- Since:
- Jakarta Persistence (JPA) 2.0