|  | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 
|  | <!-- NewPage --> | 
|  | <html lang="de"> | 
|  | <head> | 
|  | <!-- Generated by javadoc (1.8.0_201) on Wed Apr 24 20:07:03 CEST 2019 --> | 
|  | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 
|  | <title>QueryFlushModes (OpenJPA Parent POM 3.1.0 API)</title> | 
|  | <meta name="date" content="2019-04-24"> | 
|  | <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> | 
|  | <script type="text/javascript" src="../../../../script.js"></script> | 
|  | </head> | 
|  | <body> | 
|  | <script type="text/javascript"><!-- | 
|  | try { | 
|  | if (location.href.indexOf('is-external=true') == -1) { | 
|  | parent.document.title="QueryFlushModes (OpenJPA Parent POM 3.1.0 API)"; | 
|  | } | 
|  | } | 
|  | catch(err) { | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | <noscript> | 
|  | <div>JavaScript is disabled on your browser.</div> | 
|  | </noscript> | 
|  | <!-- ========= START OF TOP NAVBAR ======= --> | 
|  | <div class="topNav"><a name="navbar.top"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | 
|  | <a name="navbar.top.firstrow"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="navList" title="Navigation"> | 
|  | <li><a href="../../../../overview-summary.html">Overview</a></li> | 
|  | <li><a href="package-summary.html">Package</a></li> | 
|  | <li class="navBarCell1Rev">Class</li> | 
|  | <li><a href="class-use/QueryFlushModes.html">Use</a></li> | 
|  | <li><a href="package-tree.html">Tree</a></li> | 
|  | <li><a href="../../../../deprecated-list.html">Deprecated</a></li> | 
|  | <li><a href="../../../../index-all.html">Index</a></li> | 
|  | <li><a href="../../../../help-doc.html">Help</a></li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="subNav"> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../../org/apache/openjpa/kernel/QueryContext.html" title="interface in org.apache.openjpa.kernel"><span class="typeNameLink">Prev Class</span></a></li> | 
|  | <li><a href="../../../../org/apache/openjpa/kernel/QueryHints.html" title="interface in org.apache.openjpa.kernel"><span class="typeNameLink">Next Class</span></a></li> | 
|  | </ul> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../../index.html?org/apache/openjpa/kernel/QueryFlushModes.html" target="_top">Frames</a></li> | 
|  | <li><a href="QueryFlushModes.html" target="_top">No Frames</a></li> | 
|  | </ul> | 
|  | <ul class="navList" id="allclasses_navbar_top"> | 
|  | <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> | 
|  | </ul> | 
|  | <div> | 
|  | <script type="text/javascript"><!-- | 
|  | allClassesLink = document.getElementById("allclasses_navbar_top"); | 
|  | if(window==top) { | 
|  | allClassesLink.style.display = "block"; | 
|  | } | 
|  | else { | 
|  | allClassesLink.style.display = "none"; | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | </div> | 
|  | <div> | 
|  | <ul class="subNavList"> | 
|  | <li>Summary: </li> | 
|  | <li>Nested | </li> | 
|  | <li><a href="#field.summary">Field</a> | </li> | 
|  | <li>Constr | </li> | 
|  | <li>Method</li> | 
|  | </ul> | 
|  | <ul class="subNavList"> | 
|  | <li>Detail: </li> | 
|  | <li><a href="#field.detail">Field</a> | </li> | 
|  | <li>Constr | </li> | 
|  | <li>Method</li> | 
|  | </ul> | 
|  | </div> | 
|  | <a name="skip.navbar.top"> | 
|  | <!--   --> | 
|  | </a></div> | 
|  | <!-- ========= END OF TOP NAVBAR ========= --> | 
|  | <!-- ======== START OF CLASS DATA ======== --> | 
|  | <div class="header"> | 
|  | <div class="subTitle">org.apache.openjpa.kernel</div> | 
|  | <h2 title="Interface QueryFlushModes" class="title">Interface QueryFlushModes</h2> | 
|  | </div> | 
|  | <div class="contentContainer"> | 
|  | <div class="description"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <dl> | 
|  | <dt>All Known Subinterfaces:</dt> | 
|  | <dd><a href="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>, <a href="../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>, <a href="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</a></dd> | 
|  | </dl> | 
|  | <dl> | 
|  | <dt>All Known Implementing Classes:</dt> | 
|  | <dd><a href="../../../../org/apache/openjpa/kernel/DelegatingFetchConfiguration.html" title="class in org.apache.openjpa.kernel">DelegatingFetchConfiguration</a>, <a href="../../../../org/apache/openjpa/jdbc/kernel/DelegatingJDBCFetchConfiguration.html" title="class in org.apache.openjpa.jdbc.kernel">DelegatingJDBCFetchConfiguration</a>, <a href="../../../../org/apache/openjpa/kernel/DelegatingQuery.html" title="class in org.apache.openjpa.kernel">DelegatingQuery</a>, <a href="../../../../org/apache/openjpa/slice/DistributedQueryImpl.html" title="class in org.apache.openjpa.slice">DistributedQueryImpl</a>, <a href="../../../../org/apache/openjpa/kernel/FetchConfigurationImpl.html" title="class in org.apache.openjpa.kernel">FetchConfigurationImpl</a>, <a href="../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.html" title="class in org.apache.openjpa.jdbc.kernel">JDBCFetchConfigurationImpl</a>, <a href="../../../../org/apache/openjpa/kernel/QueryImpl.html" title="class in org.apache.openjpa.kernel">QueryImpl</a>, <a href="../../../../org/apache/openjpa/slice/jdbc/TargetFetchConfiguration.html" title="class in org.apache.openjpa.slice.jdbc">TargetFetchConfiguration</a></dd> | 
|  | </dl> | 
|  | <hr> | 
|  | <br> | 
|  | <pre>public interface <span class="typeNameLabel">QueryFlushModes</span></pre> | 
|  | <div class="block">Constants for determining when to flush before queries.</div> | 
|  | <dl> | 
|  | <dt><span class="simpleTagLabel">Since:</span></dt> | 
|  | <dd>0.4.0</dd> | 
|  | <dt><span class="simpleTagLabel">Author:</span></dt> | 
|  | <dd>Abe White</dd> | 
|  | </dl> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="summary"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <!-- =========== FIELD SUMMARY =========== --> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"><a name="field.summary"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <h3>Field Summary</h3> | 
|  | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> | 
|  | <caption><span>Fields</span><span class="tabEnd"> </span></caption> | 
|  | <tr> | 
|  | <th class="colFirst" scope="col">Modifier and Type</th> | 
|  | <th class="colLast" scope="col">Field and Description</th> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code>static int</code></td> | 
|  | <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/openjpa/kernel/QueryFlushModes.html#FLUSH_FALSE">FLUSH_FALSE</a></span></code> | 
|  | <div class="block">Constant denoting that queries should never flush data | 
|  | to the database automatically before executing a query, but | 
|  | should instead execute queries in-memory if necessary.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code>static int</code></td> | 
|  | <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/openjpa/kernel/QueryFlushModes.html#FLUSH_TRUE">FLUSH_TRUE</a></span></code> | 
|  | <div class="block">Constant denoting that queries should flush data to the | 
|  | database automatically whenever OpenJPA determines that relevant | 
|  | modifications have been made and IgnoreCache is | 
|  | <code>false</code>.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code>static int</code></td> | 
|  | <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/openjpa/kernel/QueryFlushModes.html#FLUSH_WITH_CONNECTION">FLUSH_WITH_CONNECTION</a></span></code> | 
|  | <div class="block">Constant 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.</div> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="details"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <!-- ============ FIELD DETAIL =========== --> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"><a name="field.detail"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <h3>Field Detail</h3> | 
|  | <a name="FLUSH_TRUE"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>FLUSH_TRUE</h4> | 
|  | <pre>static final int FLUSH_TRUE</pre> | 
|  | <div class="block">Constant denoting that queries should flush data to the | 
|  | database automatically whenever OpenJPA determines that relevant | 
|  | modifications have been made and IgnoreCache is | 
|  | <code>false</code>. See | 
|  | <a href="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html#getFlushBeforeQueries--"><code>OpenJPAConfiguration.getFlushBeforeQueries()</code></a> | 
|  | for more info.</div> | 
|  | <dl> | 
|  | <dt><span class="seeLabel">See Also:</span></dt> | 
|  | <dd><a href="../../../../constant-values.html#org.apache.openjpa.kernel.QueryFlushModes.FLUSH_TRUE">Constant Field Values</a></dd> | 
|  | </dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="FLUSH_FALSE"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>FLUSH_FALSE</h4> | 
|  | <pre>static final int FLUSH_FALSE</pre> | 
|  | <div class="block">Constant denoting that queries should never flush data | 
|  | to the database automatically before executing a query, but | 
|  | should instead execute queries in-memory if necessary. See | 
|  | <a href="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html#getFlushBeforeQueries--"><code>OpenJPAConfiguration.getFlushBeforeQueries()</code></a> for more info.</div> | 
|  | <dl> | 
|  | <dt><span class="seeLabel">See Also:</span></dt> | 
|  | <dd><a href="../../../../constant-values.html#org.apache.openjpa.kernel.QueryFlushModes.FLUSH_FALSE">Constant Field Values</a></dd> | 
|  | </dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="FLUSH_WITH_CONNECTION"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockListLast"> | 
|  | <li class="blockList"> | 
|  | <h4>FLUSH_WITH_CONNECTION</h4> | 
|  | <pre>static final int FLUSH_WITH_CONNECTION</pre> | 
|  | <div class="block">Constant 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. See | 
|  | <a href="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html#getFlushBeforeQueries--"><code>OpenJPAConfiguration.getFlushBeforeQueries()</code></a> for more info.</div> | 
|  | <dl> | 
|  | <dt><span class="seeLabel">See Also:</span></dt> | 
|  | <dd><a href="../../../../constant-values.html#org.apache.openjpa.kernel.QueryFlushModes.FLUSH_WITH_CONNECTION">Constant Field Values</a></dd> | 
|  | </dl> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | </div> | 
|  | <!-- ========= END OF CLASS DATA ========= --> | 
|  | <!-- ======= START OF BOTTOM NAVBAR ====== --> | 
|  | <div class="bottomNav"><a name="navbar.bottom"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | 
|  | <a name="navbar.bottom.firstrow"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="navList" title="Navigation"> | 
|  | <li><a href="../../../../overview-summary.html">Overview</a></li> | 
|  | <li><a href="package-summary.html">Package</a></li> | 
|  | <li class="navBarCell1Rev">Class</li> | 
|  | <li><a href="class-use/QueryFlushModes.html">Use</a></li> | 
|  | <li><a href="package-tree.html">Tree</a></li> | 
|  | <li><a href="../../../../deprecated-list.html">Deprecated</a></li> | 
|  | <li><a href="../../../../index-all.html">Index</a></li> | 
|  | <li><a href="../../../../help-doc.html">Help</a></li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="subNav"> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../../org/apache/openjpa/kernel/QueryContext.html" title="interface in org.apache.openjpa.kernel"><span class="typeNameLink">Prev Class</span></a></li> | 
|  | <li><a href="../../../../org/apache/openjpa/kernel/QueryHints.html" title="interface in org.apache.openjpa.kernel"><span class="typeNameLink">Next Class</span></a></li> | 
|  | </ul> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../../index.html?org/apache/openjpa/kernel/QueryFlushModes.html" target="_top">Frames</a></li> | 
|  | <li><a href="QueryFlushModes.html" target="_top">No Frames</a></li> | 
|  | </ul> | 
|  | <ul class="navList" id="allclasses_navbar_bottom"> | 
|  | <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> | 
|  | </ul> | 
|  | <div> | 
|  | <script type="text/javascript"><!-- | 
|  | allClassesLink = document.getElementById("allclasses_navbar_bottom"); | 
|  | if(window==top) { | 
|  | allClassesLink.style.display = "block"; | 
|  | } | 
|  | else { | 
|  | allClassesLink.style.display = "none"; | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | </div> | 
|  | <div> | 
|  | <ul class="subNavList"> | 
|  | <li>Summary: </li> | 
|  | <li>Nested | </li> | 
|  | <li><a href="#field.summary">Field</a> | </li> | 
|  | <li>Constr | </li> | 
|  | <li>Method</li> | 
|  | </ul> | 
|  | <ul class="subNavList"> | 
|  | <li>Detail: </li> | 
|  | <li><a href="#field.detail">Field</a> | </li> | 
|  | <li>Constr | </li> | 
|  | <li>Method</li> | 
|  | </ul> | 
|  | </div> | 
|  | <a name="skip.navbar.bottom"> | 
|  | <!--   --> | 
|  | </a></div> | 
|  | <!-- ======== END OF BOTTOM NAVBAR ======= --> | 
|  | <p class="legalCopy"><small>Copyright © 2006–2019 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> | 
|  | </body> | 
|  | </html> |