| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryFlushModes
Constants for determining when to flush before queries.
| Field Summary | |
|---|---|
| static int | FLUSH_FALSEConstant denoting that queries should never flush data to the database automatically before executing a query, but should instead execute queries in-memory if necessary. | 
| static int | FLUSH_TRUEConstant denoting that queries should flush data to the database automatically whenever OpenJPA determines that relevant modifications have been made and IgnoreCache is false. | 
| static int | FLUSH_WITH_CONNECTIONConstant denoting that queries should flush data to the database automatically when OpenJPA determines that relevant modifications have been made and the current context already has a dedicated connection. | 
| Field Detail | 
|---|
static final int FLUSH_TRUE
false. See 
 OpenJPAConfiguration.getFlushBeforeQueries()
 for more info.
static final int FLUSH_FALSE
OpenJPAConfiguration.getFlushBeforeQueries() for more info.
static final int FLUSH_WITH_CONNECTION
OpenJPAConfiguration.getFlushBeforeQueries() for more info.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||