ObjectDB ObjectDB

getFlushMode() - JPA Query's method

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