JPA Method
in javax.persistence.Query

FlushModeType getFlushMode()


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.
Return:
flush mode
Since:
JPA 2.0