blob: 58d74b3568b951b60a0f8be80654e236dc3c88a9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:39:08 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ObjectLevelReadQuery (EclipseLink 3.0.2, API Reference)</title>
<meta name="date" content="2021-07-16">
<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="ObjectLevelReadQuery (EclipseLink 3.0.2, API Reference)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":42,"i15":42,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":6,"i22":10,"i23":10,"i24":6,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":6,"i49":6,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":6,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":6,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10,"i165":10,"i166":10,"i167":10,"i168":10,"i169":10,"i170":10,"i171":10,"i172":10,"i173":10,"i174":10,"i175":10,"i176":10,"i177":10,"i178":10,"i179":10,"i180":10,"i181":10,"i182":10,"i183":10,"i184":10,"i185":10,"i186":10,"i187":10,"i188":10,"i189":10,"i190":10,"i191":10,"i192":10,"i193":10,"i194":10,"i195":10,"i196":10,"i197":10,"i198":10,"i199":10,"i200":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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="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 class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/queries/QueryByExamplePolicy.html" title="class in org.eclipse.persistence.queries"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/queries/ObjectLevelReadQuery.html" target="_top">Frames</a></li>
<li><a href="ObjectLevelReadQuery.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.org.eclipse.persistence.queries.DatabaseQuery">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></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.eclipse.persistence.queries</div>
<h2 title="Class ObjectLevelReadQuery" class="title">Class ObjectLevelReadQuery</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">org.eclipse.persistence.queries.DatabaseQuery</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html" title="class in org.eclipse.persistence.queries">org.eclipse.persistence.queries.ReadQuery</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">org.eclipse.persistence.queries.ObjectBuildingQuery</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.queries.ObjectLevelReadQuery</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ReadAllQuery.html" title="class in org.eclipse.persistence.queries">ReadAllQuery</a>, <a href="../../../../org/eclipse/persistence/queries/ReadObjectQuery.html" title="class in org.eclipse.persistence.queries">ReadObjectQuery</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">ObjectLevelReadQuery</span>
extends <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></pre>
<div class="block"><p><b>Purpose</b>:
Abstract class for all read queries using objects.
<p><b>Description</b>:
Contains common behavior for all read queries using objects.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#org.eclipse.persistence.queries.ObjectLevelReadQuery">Serialized Form</a></dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Yvon Lavoie</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>TOPLink/Java 1.0</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.persistence.queries.DatabaseQuery">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.persistence.queries.<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></h3>
<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.ParameterType.html" title="enum in org.eclipse.persistence.queries">DatabaseQuery.ParameterType</a></code></li>
</ul>
</li>
</ul>
<!-- =========== 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">&nbsp;</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>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#additionalFields">additionalFields</a></span></code>
<div class="block">Allow for additional fields to be selected, used for m-m batch reading.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>,<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#aggregateQueries">aggregateQueries</a></span></code>
<div class="block">Allow aggregate queries to be prepared and cached.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/queries/BatchFetchPolicy.html" title="class in org.eclipse.persistence.queries">BatchFetchPolicy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#batchFetchPolicy">batchFetchPolicy</a></span></code>
<div class="block">Defines batch fetching configuration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#cacheUsage">cacheUsage</a></span></code>
<div class="block">Allow for the cache usage to be specified to enable in-memory querying.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#CheckCacheByExactPrimaryKey">CheckCacheByExactPrimaryKey</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#CheckCacheByPrimaryKey">CheckCacheByPrimaryKey</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#CheckCacheOnly">CheckCacheOnly</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#CheckCacheThenDatabase">CheckCacheThenDatabase</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,org.eclipse.persistence.internal.databaseaccess.DatabaseCall&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#concreteSubclassCalls">concreteSubclassCalls</a></span></code>
<div class="block">Allow concrete subclasses calls to be prepared and cached for inheritance queries.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#concreteSubclassJoinedMappingIndexes">concreteSubclassJoinedMappingIndexes</a></span></code>
<div class="block">Allow concrete subclasses joined mapping indexes to be prepared and cached for inheritance queries.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#concreteSubclassQueries">concreteSubclassQueries</a></span></code>
<div class="block">Allow concrete subclasses queries to be prepared and cached for inheritance queries.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#ConformResultsInUnitOfWork">ConformResultsInUnitOfWork</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/expressions/ExpressionBuilder.html" title="class in org.eclipse.persistence.expressions">ExpressionBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#defaultBuilder">defaultBuilder</a></span></code>
<div class="block">Provide a default builder so that it's easier to be consistent</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#distinctState">distinctState</a></span></code>
<div class="block">Indicates if distinct should be used or not.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#DoNotCheckCache">DoNotCheckCache</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#DONT_USE_DISTINCT">DONT_USE_DISTINCT</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#fetchGroup">fetchGroup</a></span></code>
<div class="block"><a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries"><code>FetchGroup</code></a> specified on this query.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#fetchGroupName">fetchGroupName</a></span></code>
<div class="block">Name of <a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries"><code>FetchGroup</code></a> stored in the <a href="../../../../org/eclipse/persistence/descriptors/FetchGroupManager.html" title="class in org.eclipse.persistence.descriptors"><code>FetchGroupManager</code></a> of the
reference class' descriptor or any of its parent descriptors.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#inMemoryQueryIndirectionPolicy">inMemoryQueryIndirectionPolicy</a></span></code>
<div class="block">Used to determine behavior of indirection in in-memory querying and conforming.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isCachedExpressionQuery">isCachedExpressionQuery</a></span></code>
<div class="block">Indicates whether the query is cached as an expression query in descriptor's query manager.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isPrePrepared">isPrePrepared</a></span></code>
<div class="block">Allow a prePrepare stage to build the expression for EJBQL and QBE and resolve joining.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isReadOnly">isReadOnly</a></span></code>
<div class="block">PERF: Allow queries to be defined as read-only in unit of work execution.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isReferenceClassLocked">isReferenceClassLocked</a></span></code>
<div class="block">PERF: Caches locking policy isReferenceClassLocked setting.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isResultSetAccessOptimizedQuery">isResultSetAccessOptimizedQuery</a></span></code>
<div class="block">PERF: Allow queries to build while accessing the database result-set.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isResultSetAccessOptimizedQueryDefault">isResultSetAccessOptimizedQueryDefault</a></span></code>
<div class="block">If neither query specifies isResultSetOptimizedQuery nor session specifies shouldOptimizeResultSetAccess
then this value is used to indicate whether optimization should be attempted</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isResultSetOptimizedQuery">isResultSetOptimizedQuery</a></span></code>
<div class="block">PERF: Allow queries to build directly from the database result-set.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.queries.JoinedAttributeManager</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#joinedAttributeManager">joinedAttributeManager</a></span></code>
<div class="block">Stores the helper object for dealing with joined attributes</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/queries/LoadGroup.html" title="class in org.eclipse.persistence.queries">LoadGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#loadGroup">loadGroup</a></span></code>
<div class="block">Specifies indirection that should be instantiated before returning result</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#lockModeType">lockModeType</a></span></code>
<div class="block">Used when specifying a lock mode for the query</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#NONE">NONE</a></span></code>
<div class="block">Names of the possible lock mode types, JPA 2.0 only</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#nonFetchJoinAttributeExpressions">nonFetchJoinAttributeExpressions</a></span></code>
<div class="block">Stores the non fetchjoin attributes, these are joins that will be
represented in the where clause but not in the select.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#OPTIMISTIC">OPTIMISTIC</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#OPTIMISTIC_FORCE_INCREMENT">OPTIMISTIC_FORCE_INCREMENT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#orderByExpressions">orderByExpressions</a></span></code>
<div class="block">Used for ordering support.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#partialAttributeExpressions">partialAttributeExpressions</a></span></code>
<div class="block">Stores the partial attributes that have been added to this query</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#PESSIMISTIC_">PESSIMISTIC_</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#PESSIMISTIC_FORCE_INCREMENT">PESSIMISTIC_FORCE_INCREMENT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#PESSIMISTIC_READ">PESSIMISTIC_READ</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#PESSIMISTIC_WRITE">PESSIMISTIC_WRITE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#READ">READ</a></span></code>
<div class="block">Names of the possible lock mode types, JPA 1.0 and 2.0</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldExtendPessimisticLockScope">shouldExtendPessimisticLockScope</a></span></code>
<div class="block">Indicates whether pessimistic lock should also be applied to relation tables (ManyToMany and OneToOne mappings),
reference tables (DirectCollection and AggregateCollection mapping).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldIncludeData">shouldIncludeData</a></span></code>
<div class="block">Allow for a complex result to be return including the rows and objects, used for m-m batch reading.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldOuterJoinSubclasses">shouldOuterJoinSubclasses</a></span></code>
<div class="block">Define if an outer join should be used to read subclasses.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldUseDefaultFetchGroup">shouldUseDefaultFetchGroup</a></span></code>
<div class="block">Flag to turn on/off the use of the default fetch group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldUseSerializedObjectPolicy">shouldUseSerializedObjectPolicy</a></span></code>
<div class="block">Indicates whether the query should use SerializedObjectPolicy if descriptor has it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldUseSerializedObjectPolicyDefault">shouldUseSerializedObjectPolicyDefault</a></span></code>
<div class="block">default value for shouldUseSerializedObjectPolicy</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#UNCOMPUTED_DISTINCT">UNCOMPUTED_DISTINCT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#unionExpressions">unionExpressions</a></span></code>
<div class="block">Allow a query's results to be unioned (UNION, INTERSECT, EXCEPT) with another query results.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#USE_DISTINCT">USE_DISTINCT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#UseDescriptorSetting">UseDescriptorSetting</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#usesResultSetAccessOptimization">usesResultSetAccessOptimization</a></span></code>
<div class="block">PERF: Indicates whether the query is actually using ResultSet optimization.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#waitTimeout">waitTimeout</a></span></code>
<div class="block">waitTimeout has three possible setting: null, 0 and 1..N
null: use the session.getPessimisticLockTimeoutDefault() if available.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#waitTimeoutUnit">waitTimeoutUnit</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#WRITE">WRITE</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.queries.ObjectBuildingQuery">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.persistence.queries.<a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></h3>
<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#DEFAULT_LOCK_MODE">DEFAULT_LOCK_MODE</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#executionTime">executionTime</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#isCacheCheckComplete">isCacheCheckComplete</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#LOCK">LOCK</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#LOCK_NOWAIT">LOCK_NOWAIT</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#LOCK_RESULT_PROPERTY">LOCK_RESULT_PROPERTY</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#lockingClause">lockingClause</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#NO_LOCK">NO_LOCK</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#prefetchedCacheKeys">prefetchedCacheKeys</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#referenceClass">referenceClass</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#referenceClassName">referenceClassName</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#requiresDeferredLocks">requiresDeferredLocks</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldBuildNullForNullPk">shouldBuildNullForNullPk</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldRefreshIdentityMapResult">shouldRefreshIdentityMapResult</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldRefreshRemoteIdentityMapResult">shouldRefreshRemoteIdentityMapResult</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldRegisterResultsInUnitOfWork">shouldRegisterResultsInUnitOfWork</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldUseExclusiveConnection">shouldUseExclusiveConnection</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#wasDefaultLockMode">wasDefaultLockMode</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.queries.ReadQuery">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.persistence.queries.<a href="../../../../org/eclipse/persistence/queries/ReadQuery.html" title="class in org.eclipse.persistence.queries">ReadQuery</a></h3>
<code><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#fetchSize">fetchSize</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#firstResult">firstResult</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#maxResults">maxResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#maxRows">maxRows</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#queryId">queryId</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#queryResultCachingPolicy">queryResultCachingPolicy</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#temporaryCachedQueryResults">temporaryCachedQueryResults</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.queries.DatabaseQuery">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.persistence.queries.<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></h3>
<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#accessors">accessors</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#allowNativeSQLQuery">allowNativeSQLQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#argumentFields">argumentFields</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#argumentParameterTypes">argumentParameterTypes</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#arguments">arguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#argumentTypeNames">argumentTypeNames</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#argumentTypes">argumentTypes</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#argumentValues">argumentValues</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#BATCH_FETCH_PROPERTY">BATCH_FETCH_PROPERTY</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#CascadeAggregateDelete">CascadeAggregateDelete</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#CascadeAllParts">CascadeAllParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#CascadeByMapping">CascadeByMapping</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#CascadeDependentParts">CascadeDependentParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#cascadePolicy">cascadePolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#CascadePrivateParts">CascadePrivateParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#descriptor">descriptor</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#descriptors">descriptors</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#doNotRedirect">doNotRedirect</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#executionSession">executionSession</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#flushOnExecute">flushOnExecute</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#hintString">hintString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isCustomQueryUsed">isCustomQueryUsed</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isExecutionClone">isExecutionClone</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isNativeConnectionRequired">isNativeConnectionRequired</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isPrepared">isPrepared</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isUserDefined">isUserDefined</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isUserDefinedSQLCall">isUserDefinedSQLCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#monitorName">monitorName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#name">name</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#NoCascading">NoCascading</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#nullableArguments">nullableArguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#parameterDelimiter">parameterDelimiter</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#partitioningPolicy">partitioningPolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#properties">properties</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#queryMechanism">queryMechanism</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#queryTimeout">queryTimeout</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#queryTimeoutUnit">queryTimeoutUnit</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#redirector">redirector</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#session">session</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#sessionName">sessionName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldBindAllParameters">shouldBindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCacheStatement">shouldCacheStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCloneCall">shouldCloneCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldMaintainCache">shouldMaintainCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldPrepare">shouldPrepare</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldRetrieveBypassCache">shouldRetrieveBypassCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldStoreBypassCache">shouldStoreBypassCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldUseWrapperPolicy">shouldUseWrapperPolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldValidateUpdateCallCacheUse">shouldValidateUpdateCallCacheUse</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#sourceMapping">sourceMapping</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#translationRow">translationRow</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#ObjectLevelReadQuery--">ObjectLevelReadQuery</a></span>()</code>
<div class="block">INTERNAL:
Initialize the state of the query</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#acquireLocks--">acquireLocks</a></span>()</code>
<div class="block">PUBLIC:
Set the query to lock, this will also turn refreshCache on.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#acquireLocksWithoutWaiting--">acquireLocksWithoutWaiting</a></span>()</code>
<div class="block">PUBLIC:
Set the query to lock without waiting (blocking), this will also turn refreshCache on.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addAdditionalField-org.eclipse.persistence.internal.helper.DatabaseField-">addAdditionalField</a></span>(org.eclipse.persistence.internal.helper.DatabaseField&nbsp;field)</code>
<div class="block">INTERNAL:
Additional fields can be added to a query.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addAdditionalField-org.eclipse.persistence.expressions.Expression-">addAdditionalField</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;fieldExpression)</code>
<div class="block">INTERNAL:
Additional fields can be added to a query.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addBatchReadAttribute-org.eclipse.persistence.expressions.Expression-">addBatchReadAttribute</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;attributeExpression)</code>
<div class="block">PUBLIC:
Specify the foreign-reference mapped attribute to be optimized in this query.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addBatchReadAttribute-java.lang.String-">addBatchReadAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</code>
<div class="block">PUBLIC:
Specify the foreign-reference mapped attribute to be optimized in this query.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addDescendingOrdering-java.lang.String-">addDescendingOrdering</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queryKeyName)</code>
<div class="block">PUBLIC:
Order the query results by the object's attribute or query key name.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addJoinedAttribute-org.eclipse.persistence.expressions.Expression-">addJoinedAttribute</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;attributeExpression)</code>
<div class="block">PUBLIC:
Specify the attribute to be join fetched in this query.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addJoinedAttribute-java.lang.String-">addJoinedAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</code>
<div class="block">PUBLIC:
Specify the relationship attribute to be join fetched in this query.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addJoinSelectionFields-java.util.Vector-boolean-">addJoinSelectionFields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;fields,
boolean&nbsp;isCustomSQL)</code>
<div class="block">INTERNAL:
The method adds to the passed input vector the
fields or expressions corresponding to the joins.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addNonFetchJoin-org.eclipse.persistence.expressions.Expression-">addNonFetchJoin</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;target)</code>
<div class="block">PUBLIC:
Specify the object expression to be joined in this query.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addNonFetchJoinedAttribute-org.eclipse.persistence.expressions.Expression-">addNonFetchJoinedAttribute</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;attributeExpression)</code>
<div class="block">PUBLIC:
Specify the relationship attribute to be join in this query.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addNonFetchJoinedAttribute-java.lang.String-">addNonFetchJoinedAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</code>
<div class="block">PUBLIC:
Specify the relationship attribute to be join in this query.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addOrdering-org.eclipse.persistence.expressions.Expression-">addOrdering</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;orderingExpression)</code>
<div class="block">PUBLIC:
Add the ordering expression.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addPartialAttribute-org.eclipse.persistence.expressions.Expression-">addPartialAttribute</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;attributeExpression)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since EclipseLink 2.1, partial attributes replaced by fetch groups.</span></div>
</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addPartialAttribute-java.lang.String-">addPartialAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since EclipseLink 2.1, partial attributes replaced by fetch groups.</span></div>
</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addSelectionFieldsForJoinedExpression-java.util.List-boolean-org.eclipse.persistence.expressions.Expression-">addSelectionFieldsForJoinedExpression</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;fields,
boolean&nbsp;isCustomSQL,
<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;expression)</code>
<div class="block">INTERNAL:
The method adds to the passed input vector the
fields or expressions corresponding to the passed join expression.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addUnionExpression-org.eclipse.persistence.expressions.Expression-">addUnionExpression</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;union)</code>
<div class="block">PUBLIC:
Add the union expression to the query.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#buildObject-org.eclipse.persistence.internal.sessions.AbstractRecord-">buildObject</a></span>(org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;row)</code>
<div class="block">INTERNAL:
Used to build the object, and register it if in the context of a unit of work.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#changeDescriptor-org.eclipse.persistence.internal.sessions.AbstractSession-">changeDescriptor</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;theSession)</code>
<div class="block">INTERNAL:
The reference class has been changed, need to reset the
descriptor.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkCacheOnly--">checkCacheOnly</a></span>()</code>
<div class="block">PUBLIC:
The cache will checked completely, if the object is not found null will be returned or an error if the query is too complex.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkCustomQueryFlag-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">checkCustomQueryFlag</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</code>
<div class="block">INTERNAL:
Check and return custom query flag.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkDescriptor-org.eclipse.persistence.internal.sessions.AbstractSession-">checkDescriptor</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</code>
<div class="block">INTERNAL:
Ensure that the descriptor has been set.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkEarlyReturn-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">checkEarlyReturn</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</code>
<div class="block">INTERNAL:
Check to see if this query already knows the return value without performing any further work.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkEarlyReturnLocal-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">checkEarlyReturnLocal</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</code>
<div class="block">INTERNAL:
Contains the body of the check early return call, implemented by subclasses.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkForCustomQuery-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">checkForCustomQuery</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</code>
<div class="block">INTERNAL:
Check to see if a custom query should be used for this query.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkPrepare-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-boolean-">checkPrepare</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow,
boolean&nbsp;force)</code>
<div class="block">INTERNAL:
Check to see if this query needs to be prepare and prepare it.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkPrePrepare-org.eclipse.persistence.internal.sessions.AbstractSession-">checkPrePrepare</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</code>
<div class="block">INTERNAL:
ObjectLevelReadQueries now have an explicit pre-prepare stage, which
is for checking for pessimistic locking, and computing any joined
attributes declared on the descriptor.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#clearIsResultSetOptimizedQuery--">clearIsResultSetOptimizedQuery</a></span>()</code>
<div class="block">ADVANCED:
Clear the flag set by setIsResultSetOptimizedQuery method, allow to use default set on the session instead.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#clearUsesResultSetAccessOptimization--">clearUsesResultSetAccessOptimization</a></span>()</code>
<div class="block">INTERNAL:</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#clone--">clone</a></span>()</code>
<div class="block">INTERNAL:
Creates and returns a copy of this query.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#computeBatchReadAttributes--">computeBatchReadAttributes</a></span>()</code>
<div class="block">INTERNAL:
Compute the cache batched attributes.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#computeBatchReadMappingQueries--">computeBatchReadMappingQueries</a></span>()</code>
<div class="block">INTERNAL:
Used to optimize joining by pre-computing the nested join queries for the mappings.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#computeNestedQueriesForBatchReadExpressions-java.util.List-">computeNestedQueriesForBatchReadExpressions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;batchReadExpressions)</code>
<div class="block">INTERNAL:
This method is used when computing the nested queries for batch read mappings.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#conformIndividualResult-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.expressions.Expression-java.util.Map-">conformIndividualResult</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone,
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;unitOfWork,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;arguments,
<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;selectionCriteriaClone,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&nbsp;alreadyReturned)</code>
<div class="block">INTERNAL:
Conforms and registers an individual result.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#conformResultsInUnitOfWork--">conformResultsInUnitOfWork</a></span>()</code>
<div class="block">PUBLIC:
The cache will checked completely, if the object is not found the database will be queried,
and the database result will be verified with what is in the cache and/or unit of work including new objects.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#copyFromQuery-org.eclipse.persistence.queries.DatabaseQuery-">copyFromQuery</a></span>(<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query)</code>
<div class="block">INTERNAL:
Copy all setting from the query.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#deepClone--">deepClone</a></span>()</code>
<div class="block">INTERNAL:
Clone the query, including its selection criteria.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#dontAcquireLocks--">dontAcquireLocks</a></span>()</code>
<div class="block">PUBLIC:
Set the query not to lock.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#dontCheckCache--">dontCheckCache</a></span>()</code>
<div class="block">PUBLIC:
This can be used to explicitly disable the cache hit.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#dontRefreshIdentityMapResult--">dontRefreshIdentityMapResult</a></span>()</code>
<div class="block">PUBLIC:
When unset means perform read normally and dont do refresh.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#dontRefreshRemoteIdentityMapResult--">dontRefreshRemoteIdentityMapResult</a></span>()</code>
<div class="block">PUBLIC:
When unset means perform read normally and dont do refresh.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#dontUseDistinct--">dontUseDistinct</a></span>()</code>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</code>
<div class="block">INTERNAL:
Return if the query is equal to the other.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#except-org.eclipse.persistence.queries.ReportQuery-">except</a></span>(<a href="../../../../org/eclipse/persistence/queries/ReportQuery.html" title="class in org.eclipse.persistence.queries">ReportQuery</a>&nbsp;query)</code>
<div class="block">PUBLIC:
Except the query results with the other query.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#execute-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">execute</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</code>
<div class="block">INTERNAL:
Execute the query.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#executeDatabaseQuery--">executeDatabaseQuery</a></span>()</code>
<div class="block">INTERNAL:
Executes the prepared query on the datastore.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#executeInUnitOfWork-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.sessions.AbstractRecord-">executeInUnitOfWork</a></span>(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;unitOfWork,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</code>
<div class="block">INTERNAL:
Execute the query in the unit of work.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#executeObjectLevelReadQuery--">executeObjectLevelReadQuery</a></span>()</code>
<div class="block">Executes the prepared query on the datastore.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#executeObjectLevelReadQueryFromResultSet--">executeObjectLevelReadQueryFromResultSet</a></span>()</code>
<div class="block">Executes the prepared query on the datastore.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#extendPessimisticLockScope--">extendPessimisticLockScope</a></span>()</code>
<div class="block">INTERNAL:
Extends pessimistic lock scope.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getAdditionalFields--">getAdditionalFields</a></span>()</code>
<div class="block">INTERNAL:
Additional fields can be added to a query.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>,<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getAggregateQueries--">getAggregateQueries</a></span>()</code>
<div class="block">INTERNAL:
Return the cache of aggregate queries.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getAggregateQuery-org.eclipse.persistence.mappings.DatabaseMapping-">getAggregateQuery</a></span>(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;mapping)</code>
<div class="block">INTERNAL:
Return the aggregate query clone for the mapping.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/history/AsOfClause.html" title="class in org.eclipse.persistence.history">AsOfClause</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getAsOfClause--">getAsOfClause</a></span>()</code>
<div class="block">ADVANCED:
Answers the past time this query is as of.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/BatchFetchPolicy.html" title="class in org.eclipse.persistence.queries">BatchFetchPolicy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getBatchFetchPolicy--">getBatchFetchPolicy</a></span>()</code>
<div class="block">Return the batch fetch policy for configuring batch fetching.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getBatchObjects--">getBatchObjects</a></span>()</code>
<div class="block">INTERNAL:
Return temporary map of batched objects.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getBatchReadAttributeExpressions--">getBatchReadAttributeExpressions</a></span>()</code>
<div class="block">INTERNAL:
Return all attributes specified for batch reading.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getCacheUsage--">getCacheUsage</a></span>()</code>
<div class="block">PUBLIC:
Return the cache usage.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,org.eclipse.persistence.internal.databaseaccess.DatabaseCall&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getConcreteSubclassCalls--">getConcreteSubclassCalls</a></span>()</code>
<div class="block">INTERNAL:
Return the cache of concrete subclass calls.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getConcreteSubclassJoinedMappingIndexes--">getConcreteSubclassJoinedMappingIndexes</a></span>()</code>
<div class="block">INTERNAL:
Return the cache of concrete subclass joined mapping indexes.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getConcreteSubclassQueries--">getConcreteSubclassQueries</a></span>()</code>
<div class="block">INTERNAL:
Return the cache of concrete subclass queries.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getDistinctState--">getDistinctState</a></span>()</code>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getExampleObject--">getExampleObject</a></span>()</code>
<div class="block">PUBLIC:
This method returns the current example object.</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getExecutionFetchGroup--">getExecutionFetchGroup</a></span>()</code>
<div class="block">INTERNAL:
Returns FetchGroup that will be applied to the query.</div>
</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getExecutionFetchGroup-org.eclipse.persistence.descriptors.ClassDescriptor-">getExecutionFetchGroup</a></span>(<a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</code>
<div class="block">INTERNAL:
Returns FetchGroup that will be applied to the query.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/expressions/ExpressionBuilder.html" title="class in org.eclipse.persistence.expressions">ExpressionBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getExpressionBuilder--">getExpressionBuilder</a></span>()</code>
<div class="block">REQUIRED:
Get the expression builder which should be used for this query.</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getFetchGroup--">getFetchGroup</a></span>()</code>
<div class="block">Return the fetch group set in the query.</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getFetchGroupName--">getFetchGroupName</a></span>()</code>
<div class="block">Return the fetch group name set in the query.</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getFetchGroupNonNestedFieldsSet--">getFetchGroupNonNestedFieldsSet</a></span>()</code>
<div class="block">INTERNAL:
Return the set of fields required in the select clause, for fetch group reading.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getFetchGroupNonNestedFieldsSet-org.eclipse.persistence.mappings.DatabaseMapping-">getFetchGroupNonNestedFieldsSet</a></span>(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;nestedMapping)</code>
<div class="block">INTERNAL:
Return the set of fields required in the select clause, for fetch group reading.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getFetchGroupSelectionFields--">getFetchGroupSelectionFields</a></span>()</code>
<div class="block">INTERNAL:
Return the fields required in the select clause, for fetch group reading.</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getFetchGroupSelectionFields-org.eclipse.persistence.mappings.DatabaseMapping-">getFetchGroupSelectionFields</a></span>(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;nestedMapping)</code>
<div class="block">INTERNAL:
Return the fields required in the select clause, for fetch group reading.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/InMemoryQueryIndirectionPolicy.html" title="class in org.eclipse.persistence.queries">InMemoryQueryIndirectionPolicy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getInMemoryQueryIndirectionPolicy--">getInMemoryQueryIndirectionPolicy</a></span>()</code>
<div class="block">PUBLIC:
Returns the InMemoryQueryIndirectionPolicy for this query</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getInMemoryQueryIndirectionPolicyState--">getInMemoryQueryIndirectionPolicyState</a></span>()</code>
<div class="block">PUBLIC:
Returns the InMemoryQueryIndirectionPolicy for this query</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getJoinedAttributeExpressions--">getJoinedAttributeExpressions</a></span>()</code>
<div class="block">INTERNAL:
Convenience method for project mapping.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.queries.JoinedAttributeManager</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getJoinedAttributeManager--">getJoinedAttributeManager</a></span>()</code>
<div class="block">INTERNAL:
Return join manager responsible for managing all aspects of joining for the query.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/LoadGroup.html" title="class in org.eclipse.persistence.queries">LoadGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getLoadGroup--">getLoadGroup</a></span>()</code>
<div class="block">Return the load group set in the query.</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.expressions.ForUpdateClause</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getLockingClause--">getLockingClause</a></span>()</code>
<div class="block">INTERNAL:
It is not exactly as simple as a query being either locking or not.</div>
</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getLockModeType--">getLockModeType</a></span>()</code>
<div class="block">INTERNAL:
returns the jakarta.persistence.LockModeType string value set on this query.</div>
</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getNonFetchJoinAttributeExpressions--">getNonFetchJoinAttributeExpressions</a></span>()</code>
<div class="block">INTERNAL:
Return the attributes that must be joined, but not fetched, that is,
do not trigger the value holder.</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getOrderByExpressions--">getOrderByExpressions</a></span>()</code>
<div class="block">INTERNAL:
Return the order expressions for the query.</div>
</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getPartialAttributeExpressions--">getPartialAttributeExpressions</a></span>()</code>
<div class="block">INTERNAL:
Return the partial attributes to select.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getPartialAttributeSelectionFields-boolean-">getPartialAttributeSelectionFields</a></span>(boolean&nbsp;isCustomSQL)</code>
<div class="block">INTERNAL:
Return the fields required in the select clause, for patial attribute reading.</div>
</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/QueryByExamplePolicy.html" title="class in org.eclipse.persistence.queries">QueryByExamplePolicy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getQueryByExamplePolicy--">getQueryByExamplePolicy</a></span>()</code>
<div class="block">PUBLIC:
When using Query By Example, an instance of QueryByExamplePolicy is used to customize the query.</div>
</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getReadQuery--">getReadQuery</a></span>()</code>
<div class="block">INTERNAL:
Get custom read query from query manager.</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getReferenceClass--">getReferenceClass</a></span>()</code>
<div class="block">PUBLIC:
Return the reference class of the query.</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getReferenceClassName--">getReferenceClassName</a></span>()</code>
<div class="block">INTERNAL:
Return the reference class of the query.</div>
</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getSelectionFields--">getSelectionFields</a></span>()</code>
<div class="block">INTERNAL:
Return the fields selected by the query.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getUnionExpressions--">getUnionExpressions</a></span>()</code>
<div class="block">Return any union expressions.</div>
</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getWaitTimeout--">getWaitTimeout</a></span>()</code>
<div class="block">PUBLIC:
Return the WAIT timeout value of pessimistic locking query.</div>
</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getWaitTimeoutUnit--">getWaitTimeoutUnit</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasAdditionalFields--">hasAdditionalFields</a></span>()</code>
<div class="block">INTERNAL:
Return if additional field.</div>
</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasAsOfClause--">hasAsOfClause</a></span>()</code>
<div class="block">PUBLIC:
Answers if the domain objects are to be read as of a past time.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasBatchReadAttributes--">hasBatchReadAttributes</a></span>()</code>
<div class="block">INTERNAL:
Return true is this query has batching</div>
</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasDefaultBuilder--">hasDefaultBuilder</a></span>()</code>
<div class="block">INTERNAL:
Checks to see if a builder has been set on the query.</div>
</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasExecutionFetchGroup--">hasExecutionFetchGroup</a></span>()</code>
<div class="block">INTERNAL:
Indicates whether a FetchGroup will be applied to the query.</div>
</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasFetchGroup--">hasFetchGroup</a></span>()</code>
<div class="block">Return if a fetch group is set in the query.</div>
</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hashCode--">hashCode</a></span>()</code>
<div class="block">INTERNAL:
Compute a consistent hash-code for the expression.</div>
</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasJoining--">hasJoining</a></span>()</code>
<div class="block">INTERNAL:
Return if any attributes are joined.</div>
</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasNonFetchJoinedAttributeExpressions--">hasNonFetchJoinedAttributeExpressions</a></span>()</code>
<div class="block">INTERNAL:
Return the attributes that must be joined.</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasOrderByExpressions--">hasOrderByExpressions</a></span>()</code>
<div class="block">INTERNAL:
The order bys are lazy initialized to conserve space.</div>
</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasPartialAttributeExpressions--">hasPartialAttributeExpressions</a></span>()</code>
<div class="block">INTERNAL:
Return if partial attributes.</div>
</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasUnionExpressions--">hasUnionExpressions</a></span>()</code>
<div class="block">INTERNAL:
The unions are lazy initialized to conserve space.</div>
</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#initializeDefaultBuilder--">initializeDefaultBuilder</a></span>()</code>
<div class="block">Initialize the expression builder which should be used for this query.</div>
</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#intersect-org.eclipse.persistence.queries.ReportQuery-">intersect</a></span>(<a href="../../../../org/eclipse/persistence/queries/ReportQuery.html" title="class in org.eclipse.persistence.queries">ReportQuery</a>&nbsp;query)</code>
<div class="block">PUBLIC:
Intersect the query results with the other query.</div>
</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isAttributeBatchRead-org.eclipse.persistence.descriptors.ClassDescriptor-java.lang.String-">isAttributeBatchRead</a></span>(<a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;mappingDescriptor,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</code>
<div class="block">INTERNAL:
Return if the attribute is specified for batch reading.</div>
</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isCachedExpressionQuery--">isCachedExpressionQuery</a></span>()</code>
<div class="block">INTERNAL:
Indicates whether the query is cached as an expression query in descriptor's query manager.</div>
</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isClonePessimisticLocked-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-">isClonePessimisticLocked</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone,
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;uow)</code>
<div class="block">INTERNAL:
Helper method that checks if clone has been locked with uow.</div>
</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isDefaultLock--">isDefaultLock</a></span>()</code>
<div class="block">INTERNAL: Helper method to determine the default mode.</div>
</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isDefaultPropertiesQuery--">isDefaultPropertiesQuery</a></span>()</code>
<div class="block">INTERNAL:
Return true if the query uses default properties.</div>
</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isDistinctComputed--">isDistinctComputed</a></span>()</code>
<div class="block">INTERNAL:
return true if this query has computed its distinct value already</div>
</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isLockQuery--">isLockQuery</a></span>()</code>
<div class="block">PUBLIC:
Answers if the query lock mode is known to be LOCK or LOCK_NOWAIT.</div>
</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isLockQuery-org.eclipse.persistence.sessions.Session-">isLockQuery</a></span>(<a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;session)</code>
<div class="block">ADVANCED:
Answers if this query will issue any pessimistic locks.</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isObjectLevelReadQuery--">isObjectLevelReadQuery</a></span>()</code>
<div class="block">PUBLIC:
Return if this is an object level read query.</div>
</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isPartialAttribute-java.lang.String-">isPartialAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</code>
<div class="block">INTERNAL:
Return if partial attribute.</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isPrePrepared--">isPrePrepared</a></span>()</code>
<div class="block">PUBLIC:
Queries prepare common stated in themselves.</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isPrimaryKeyQuery--">isPrimaryKeyQuery</a></span>()</code>
<div class="block">INTERNAL:
Return if the query is known to be by primary key.</div>
</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isReadOnly--">isReadOnly</a></span>()</code>
<div class="block">PUBLIC:
Return if the query is read-only.</div>
</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isReferenceClassLocked--">isReferenceClassLocked</a></span>()</code>
<div class="block">INTERNAL:
Cache the locking policy isReferenceClassLocked check.</div>
</td>
</tr>
<tr id="i120" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isResultSetAccessOptimizedQuery--">isResultSetAccessOptimizedQuery</a></span>()</code>
<div class="block">ADVANCED:
Return if the query result set access should be optimized.</div>
</td>
</tr>
<tr id="i121" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isResultSetOptimizedQuery--">isResultSetOptimizedQuery</a></span>()</code>
<div class="block">ADVANCED:
Return if the query should be optimized to build directly from the result set.</div>
</td>
</tr>
<tr id="i122" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prepare--">prepare</a></span>()</code>
<div class="block">INTERNAL:
Prepare the receiver for execution in a session.</div>
</td>
</tr>
<tr id="i123" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prepareFetchGroup--">prepareFetchGroup</a></span>()</code>
<div class="block">INTERNAL:
Add mandatory attributes to fetch group, create entityFetchGroup.</div>
</td>
</tr>
<tr id="i124" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prepareForRemoteExecution--">prepareForRemoteExecution</a></span>()</code>
<div class="block">INTERNAL:
Prepare the receiver for execution in a session.</div>
</td>
</tr>
<tr id="i125" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prepareFromCachedQuery--">prepareFromCachedQuery</a></span>()</code>
<div class="block">INTERNAL:
Check if the query is cached and prepare from it.</div>
</td>
</tr>
<tr id="i126" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prepareFromQuery-org.eclipse.persistence.queries.DatabaseQuery-">prepareFromQuery</a></span>(<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query)</code>
<div class="block">INTERNAL:
Prepare the query from the prepared query.</div>
</td>
</tr>
<tr id="i127" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prepareOutsideUnitOfWork-org.eclipse.persistence.internal.sessions.AbstractSession-">prepareOutsideUnitOfWork</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</code>
<div class="block">INTERNAL:
There is a very special case where a query may be a bean-level
pessimistic locking query.</div>
</td>
</tr>
<tr id="i128" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prepareQuery--">prepareQuery</a></span>()</code>
<div class="block">INTERNAL:
Prepare the receiver for execution in a session.</div>
</td>
</tr>
<tr id="i129" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prepareResultSetAccessOptimization--">prepareResultSetAccessOptimization</a></span>()</code>
<div class="block">INTERNAL:
Sets usesResultSetAccessOptimization based on isResultSetAccessOptimizedQuery, session default and
query settings that could not be altered without re-preparing the query.</div>
</td>
</tr>
<tr id="i130" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#prePrepare--">prePrepare</a></span>()</code>
<div class="block">INTERNAL:
Prepare the receiver for execution in a session.</div>
</td>
</tr>
<tr id="i131" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#recordCloneForPessimisticLocking-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-">recordCloneForPessimisticLocking</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone,
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;uow)</code>
<div class="block">INTERNAL:
Helper method that records clone with uow if query is pessimistic locking.</div>
</td>
</tr>
<tr id="i132" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#refreshIdentityMapResult--">refreshIdentityMapResult</a></span>()</code>
<div class="block">PUBLIC:
Refresh the attributes of the object(s) resulting from the query.</div>
</td>
</tr>
<tr id="i133" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#refreshRemoteIdentityMapResult--">refreshRemoteIdentityMapResult</a></span>()</code>
<div class="block">PUBLIC:
Refresh the attributes of the object(s) resulting from the query.</div>
</td>
</tr>
<tr id="i134" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#registerResultInUnitOfWork-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.sessions.AbstractRecord-boolean-">registerResultInUnitOfWork</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;result,
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;unitOfWork,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;arguments,
boolean&nbsp;buildDirectlyFromRows)</code>
<div class="block">INTERNAL:
All objects queried via a UnitOfWork get registered here.</div>
</td>
</tr>
<tr id="i135" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#resetDistinct--">resetDistinct</a></span>()</code>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.</div>
</td>
</tr>
<tr id="i136" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setAdditionalFields-java.util.List-">setAdditionalFields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;additionalFields)</code>
<div class="block">INTERNAL:
Additional fields can be added to a query.</div>
</td>
</tr>
<tr id="i137" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setAggregateQuery-org.eclipse.persistence.mappings.DatabaseMapping-org.eclipse.persistence.queries.ObjectLevelReadQuery-">setAggregateQuery</a></span>(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;mapping,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a>&nbsp;query)</code>
<div class="block">INTERNAL:
Set the aggregate query clone for the mapping.</div>
</td>
</tr>
<tr id="i138" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setAsOfClause-org.eclipse.persistence.history.AsOfClause-">setAsOfClause</a></span>(<a href="../../../../org/eclipse/persistence/history/AsOfClause.html" title="class in org.eclipse.persistence.history">AsOfClause</a>&nbsp;pastTime)</code>
<div class="block">ADVANCED: Sets the query to execute as of the past time.</div>
</td>
</tr>
<tr id="i139" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setBatchFetchPolicy-org.eclipse.persistence.queries.BatchFetchPolicy-">setBatchFetchPolicy</a></span>(<a href="../../../../org/eclipse/persistence/queries/BatchFetchPolicy.html" title="class in org.eclipse.persistence.queries">BatchFetchPolicy</a>&nbsp;batchFetchPolicy)</code>
<div class="block">Set the batch fetch policy for configuring batch fetching.</div>
</td>
</tr>
<tr id="i140" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setBatchFetchSize-int-">setBatchFetchSize</a></span>(int&nbsp;size)</code>
<div class="block">PUBLIC:
Set the batch fetch size for the query.</div>
</td>
</tr>
<tr id="i141" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setBatchFetchType-org.eclipse.persistence.annotations.BatchFetchType-">setBatchFetchType</a></span>(<a href="../../../../org/eclipse/persistence/annotations/BatchFetchType.html" title="enum in org.eclipse.persistence.annotations">BatchFetchType</a>&nbsp;type)</code>
<div class="block">PUBLIC:
Set the batch fetch type for the query.</div>
</td>
</tr>
<tr id="i142" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setBatchObjects-java.util.Map-">setBatchObjects</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;batchObjects)</code>
<div class="block">INTERNAL:
Set temporary map of batched objects.</div>
</td>
</tr>
<tr id="i143" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setBatchReadAttributeExpressions-java.util.List-">setBatchReadAttributeExpressions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;attributeExpressions)</code>
<div class="block">INTERNAL:
Set all attributes specified for batch reading.</div>
</td>
</tr>
<tr id="i144" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setCacheUsage-int-">setCacheUsage</a></span>(int&nbsp;cacheUsage)</code>
<div class="block">PUBLIC:
Set the cache usage.</div>
</td>
</tr>
<tr id="i145" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-">setDescriptor</a></span>(<a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</code>
<div class="block">INTERNAL:
Set the descriptor for the query.</div>
</td>
</tr>
<tr id="i146" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setDistinctState-short-">setDistinctState</a></span>(short&nbsp;distinctState)</code>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.</div>
</td>
</tr>
<tr id="i147" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setEJBQLString-java.lang.String-">setEJBQLString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ejbqlString)</code>
<div class="block">PUBLIC: Set the EJBQL string of the query.</div>
</td>
</tr>
<tr id="i148" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setExampleObject-java.lang.Object-">setExampleObject</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;newExampleObject)</code>
<div class="block">PUBLIC:
Set the example object of the query to be the newExampleObject.</div>
</td>
</tr>
<tr id="i149" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setExpressionBuilder-org.eclipse.persistence.expressions.ExpressionBuilder-">setExpressionBuilder</a></span>(<a href="../../../../org/eclipse/persistence/expressions/ExpressionBuilder.html" title="class in org.eclipse.persistence.expressions">ExpressionBuilder</a>&nbsp;builder)</code>
<div class="block">INTERNAL
Sets the default expression builder for this query.</div>
</td>
</tr>
<tr id="i150" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setFetchGroup-org.eclipse.persistence.queries.FetchGroup-">setFetchGroup</a></span>(<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a>&nbsp;newFetchGroup)</code>
<div class="block">Set a dynamic (use case) fetch group to the query.</div>
</td>
</tr>
<tr id="i151" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setFetchGroupName-java.lang.String-">setFetchGroupName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;groupName)</code>
<div class="block">Set a descriptor-level pre-defined named fetch group to the query.</div>
</td>
</tr>
<tr id="i152" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setInMemoryQueryIndirectionPolicy-org.eclipse.persistence.queries.InMemoryQueryIndirectionPolicy-">setInMemoryQueryIndirectionPolicy</a></span>(<a href="../../../../org/eclipse/persistence/queries/InMemoryQueryIndirectionPolicy.html" title="class in org.eclipse.persistence.queries">InMemoryQueryIndirectionPolicy</a>&nbsp;inMemoryQueryIndirectionPolicy)</code>
<div class="block">PUBLIC:
Set the InMemoryQueryIndirectionPolicy for this query.</div>
</td>
</tr>
<tr id="i153" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setInMemoryQueryIndirectionPolicyState-int-">setInMemoryQueryIndirectionPolicyState</a></span>(int&nbsp;inMemoryQueryIndirectionPolicy)</code>
<div class="block">PUBLIC:
Set the InMemoryQueryIndirectionPolicy for this query.</div>
</td>
</tr>
<tr id="i154" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setIsPrepared-boolean-">setIsPrepared</a></span>(boolean&nbsp;isPrepared)</code>
<div class="block">INTERNAL:
Clear cached flags when un-preparing.</div>
</td>
</tr>
<tr id="i155" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setIsPreparedKeepingSubclassData-boolean-">setIsPreparedKeepingSubclassData</a></span>(boolean&nbsp;isPrepared)</code>
<div class="block">INTERNAL:
Clear cached flags when un-preparing.</div>
</td>
</tr>
<tr id="i156" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setIsPrePrepared-boolean-">setIsPrePrepared</a></span>(boolean&nbsp;isPrePrepared)</code>
<div class="block">INTERNAL:
If changes are made to the query that affect the derived SQL or Call
parameters the query needs to be prepared again.</div>
</td>
</tr>
<tr id="i157" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setIsReadOnly-boolean-">setIsReadOnly</a></span>(boolean&nbsp;isReadOnly)</code>
<div class="block">PUBLIC:
Set the query to be read-only.</div>
</td>
</tr>
<tr id="i158" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setIsResultSetAccessOptimizedQuery-boolean-">setIsResultSetAccessOptimizedQuery</a></span>(boolean&nbsp;isResultSetAccessOptimizedQuery)</code>
<div class="block">ADVANCED:
Set if the query should be optimized to build directly from the result set.</div>
</td>
</tr>
<tr id="i159" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setIsResultSetOptimizedQuery-boolean-">setIsResultSetOptimizedQuery</a></span>(boolean&nbsp;isResultSetOptimizedQuery)</code>
<div class="block">ADVANCED:
Set if the query should be optimized to build directly from the result set.</div>
</td>
</tr>
<tr id="i160" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setJoinedAttributeExpressions-java.util.List-">setJoinedAttributeExpressions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;expressions)</code>
<div class="block">INTERNAL:
Convenience method for project mapping.</div>
</td>
</tr>
<tr id="i161" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setJoinedAttributeManager-org.eclipse.persistence.internal.queries.JoinedAttributeManager-">setJoinedAttributeManager</a></span>(org.eclipse.persistence.internal.queries.JoinedAttributeManager&nbsp;joinedAttributeManager)</code>
<div class="block">INTERNAL:
Set join manager responsible for managing all aspects of joining for the query.</div>
</td>
</tr>
<tr id="i162" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setLoadGroup-org.eclipse.persistence.queries.LoadGroup-">setLoadGroup</a></span>(<a href="../../../../org/eclipse/persistence/queries/LoadGroup.html" title="class in org.eclipse.persistence.queries">LoadGroup</a>&nbsp;loadGroup)</code>
<div class="block">Set a load group to the query.</div>
</td>
</tr>
<tr id="i163" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setLockingClause-org.eclipse.persistence.internal.expressions.ForUpdateClause-">setLockingClause</a></span>(org.eclipse.persistence.internal.expressions.ForUpdateClause&nbsp;clause)</code>
<div class="block">INTERNAL:
The locking clause contains a list of expressions representing which
objects are to be locked by the query.</div>
</td>
</tr>
<tr id="i164" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setLockMode-short-">setLockMode</a></span>(short&nbsp;lockMode)</code>
<div class="block">PUBLIC:
Sets whether this is a pessimistically locking query.</div>
</td>
</tr>
<tr id="i165" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setLockModeType-java.lang.String-org.eclipse.persistence.internal.sessions.AbstractSession-">setLockModeType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;lockModeType,
org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</code>
<div class="block">INTERNAL:
Sets a jakarta.persistence.LockModeType to used with this queries execution.</div>
</td>
</tr>
<tr id="i166" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setNonFetchJoinAttributeExpressions-java.util.List-">setNonFetchJoinAttributeExpressions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;nonFetchJoinExpressions)</code>
<div class="block">INTERNAL:
Return the attributes that must be joined, but not fetched, that is,
do not trigger the value holder.</div>
</td>
</tr>
<tr id="i167" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setOrderByExpressions-java.util.List-">setOrderByExpressions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;orderByExpressions)</code>
<div class="block">INTERNAL:
Set the order expressions for the query.</div>
</td>
</tr>
<tr id="i168" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setPartialAttributeExpressions-java.util.List-">setPartialAttributeExpressions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;partialAttributeExpressions)</code>
<div class="block">INTERNAL:
Set the partial attributes to select.</div>
</td>
</tr>
<tr id="i169" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setQueryByExamplePolicy-org.eclipse.persistence.queries.QueryByExamplePolicy-">setQueryByExamplePolicy</a></span>(<a href="../../../../org/eclipse/persistence/queries/QueryByExamplePolicy.html" title="class in org.eclipse.persistence.queries">QueryByExamplePolicy</a>&nbsp;queryByExamplePolicy)</code>
<div class="block">PUBLIC:
The QueryByExamplePolicy, is a useful to customize the query when Query By Example is used.</div>
</td>
</tr>
<tr id="i170" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setReferenceClass-java.lang.Class-">setReferenceClass</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;aClass)</code>
<div class="block">REQUIRED:
Set the reference class for the query.</div>
</td>
</tr>
<tr id="i171" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setReferenceClassName-java.lang.String-">setReferenceClassName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aClass)</code>
<div class="block">INTERNAL:
Set the reference class for the query.</div>
</td>
</tr>
<tr id="i172" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setSelectionCriteria-org.eclipse.persistence.expressions.Expression-">setSelectionCriteria</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;expression)</code>
<div class="block">PUBLIC:
Set the Expression/where clause of the query.</div>
</td>
</tr>
<tr id="i173" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setShouldExtendPessimisticLockScope-boolean-">setShouldExtendPessimisticLockScope</a></span>(boolean&nbsp;isExtended)</code>
<div class="block">INTERNAL:
Indicates whether pessimistic lock should also be applied to relation tables (ManyToMany and OneToOne mappings),
reference tables (DirectCollection and AggregateCollection mapping).</div>
</td>
</tr>
<tr id="i174" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setShouldFilterDuplicates-boolean-">setShouldFilterDuplicates</a></span>(boolean&nbsp;shouldFilterDuplicates)</code>
<div class="block">PUBLIC:
Set if duplicate rows should be filter when using 1-m joining.</div>
</td>
</tr>
<tr id="i175" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setShouldIncludeData-boolean-">setShouldIncludeData</a></span>(boolean&nbsp;shouldIncludeData)</code>
<div class="block">INTERNAL:
Set if the rows for the result of the query should also be returned using a complex query result.</div>
</td>
</tr>
<tr id="i176" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setShouldOuterJoinSubclasses-boolean-">setShouldOuterJoinSubclasses</a></span>(boolean&nbsp;shouldOuterJoinSubclasses)</code>
<div class="block">PUBLIC:
Set if an outer join should be used to read subclasses.</div>
</td>
</tr>
<tr id="i177" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setShouldUseDefaultFetchGroup-boolean-">setShouldUseDefaultFetchGroup</a></span>(boolean&nbsp;shouldUseDefaultFetchGroup)</code>
<div class="block">Set false if the user does not want to use the default fetch group defined in the descriptor level.</div>
</td>
</tr>
<tr id="i178" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setShouldUseSerializedObjectPolicy-boolean-">setShouldUseSerializedObjectPolicy</a></span>(boolean&nbsp;shouldUseSerializedObjectPolicy)</code>
<div class="block">INTERNAL:
Set a flag that indicates whether the query should use SerializedObjectPolicy if descriptor has it.</div>
</td>
</tr>
<tr id="i179" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setUnionExpressions-java.util.List-">setUnionExpressions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;unionExpressions)</code>
<div class="block">INTERNAL:
Set any union expressions.</div>
</td>
</tr>
<tr id="i180" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setWaitTimeout-java.lang.Integer-">setWaitTimeout</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;waitTimeout)</code>
<div class="block">PUBLIC:
Sets that this a pessimistic wait locking query.</div>
</td>
</tr>
<tr id="i181" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setWaitTimeoutUnit-java.util.concurrent.TimeUnit-">setWaitTimeoutUnit</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;waitTimeoutUnit)</code>&nbsp;</td>
</tr>
<tr id="i182" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldCheckCache--">shouldCheckCache</a></span>()</code>
<div class="block">PUBLIC:
Return if the cache should be checked.</div>
</td>
</tr>
<tr id="i183" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldCheckCacheOnly--">shouldCheckCacheOnly</a></span>()</code>
<div class="block">PUBLIC:
Return if cache should be checked.</div>
</td>
</tr>
<tr id="i184" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldCheckDescriptorForCacheUsage--">shouldCheckDescriptorForCacheUsage</a></span>()</code>
<div class="block">PUBLIC:
Return whether the descriptor's disableCacheHits setting should be checked prior
to querying the cache.</div>
</td>
</tr>
<tr id="i185" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldConformResultsInUnitOfWork--">shouldConformResultsInUnitOfWork</a></span>()</code>
<div class="block">PUBLIC:
Should the results will be checked against the changes within the unit of work and object no longer matching or deleted will be remove, matching new objects will also be added..</div>
</td>
</tr>
<tr id="i186" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldDistinctBeUsed--">shouldDistinctBeUsed</a></span>()</code>
<div class="block">INTERNAL:
return true if this query should use a distinct</div>
</td>
</tr>
<tr id="i187" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldExtendPessimisticLockScope--">shouldExtendPessimisticLockScope</a></span>()</code>
<div class="block">INTERNAL:
Indicates whether pessimistic lock should also be applied to relation tables (ManyToMany and OneToOne mappings),
reference tables (DirectCollection and AggregateCollection mapping).</div>
</td>
</tr>
<tr id="i188" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldFilterDuplicates--">shouldFilterDuplicates</a></span>()</code>
<div class="block">PUBLIC:
Return if duplicate rows should be filter when using 1-m joining.</div>
</td>
</tr>
<tr id="i189" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldIncludeData--">shouldIncludeData</a></span>()</code>
<div class="block">INTERNAL:
Return if the rows for the result of the query should also be returned using a complex query result.</div>
</td>
</tr>
<tr id="i190" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldOuterJoinSubclasses--">shouldOuterJoinSubclasses</a></span>()</code>
<div class="block">PUBLIC:
Return if an outer join should be used to read subclasses.</div>
</td>
</tr>
<tr id="i191" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldReadAllMappings--">shouldReadAllMappings</a></span>()</code>
<div class="block">INTERNAL:
Return if this is a full object query, not partial nor fetch group.</div>
</td>
</tr>
<tr id="i192" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldReadMapping-org.eclipse.persistence.mappings.DatabaseMapping-org.eclipse.persistence.queries.FetchGroup-">shouldReadMapping</a></span>(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;mapping,
<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a>&nbsp;fetchGroup)</code>
<div class="block">INTERNAL:
Check if the mapping is part of the partial attributes.</div>
</td>
</tr>
<tr id="i193" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldUseDefaultFetchGroup--">shouldUseDefaultFetchGroup</a></span>()</code>
<div class="block">Return false if the query does not use the default fetch group defined in the descriptor level.</div>
</td>
</tr>
<tr id="i194" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#shouldUseSerializedObjectPolicy--">shouldUseSerializedObjectPolicy</a></span>()</code>
<div class="block">INTERNAL:
Indicates whether the query should use SerializedObjectPolicy if descriptor has it.</div>
</td>
</tr>
<tr id="i195" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#supportsResultSetAccessOptimizationOnExecute--">supportsResultSetAccessOptimizationOnExecute</a></span>()</code>
<div class="block">INTERNAL:
Indicates whether the query can use ResultSet optimization.</div>
</td>
</tr>
<tr id="i196" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#supportsResultSetAccessOptimizationOnPrepare--">supportsResultSetAccessOptimizationOnPrepare</a></span>()</code>
<div class="block">INTERNAL:
Indicates whether the query can use ResultSet optimization.</div>
</td>
</tr>
<tr id="i197" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i198" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#union-org.eclipse.persistence.queries.ReportQuery-">union</a></span>(<a href="../../../../org/eclipse/persistence/queries/ReportQuery.html" title="class in org.eclipse.persistence.queries">ReportQuery</a>&nbsp;query)</code>
<div class="block">PUBLIC:
Union the query results with the other query.</div>
</td>
</tr>
<tr id="i199" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#useDistinct--">useDistinct</a></span>()</code>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.</div>
</td>
</tr>
<tr id="i200" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#usesResultSetAccessOptimization--">usesResultSetAccessOptimization</a></span>()</code>
<div class="block">INTERNAL:
Return if the query uses ResultSet optimization.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.queries.ObjectBuildingQuery">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.persistence.queries.<a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></h3>
<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#clonedQueryExecutionComplete-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractSession-">clonedQueryExecutionComplete</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#convertClassNamesToClasses-java.lang.ClassLoader-">convertClassNamesToClasses</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getDataResults--">getDataResults</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getExecutionTime--">getExecutionTime</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getLockMode--">getLockMode</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getPrefetchedCacheKeys--">getPrefetchedCacheKeys</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getQueryPrimaryKey--">getQueryPrimaryKey</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#isAttributeJoined-org.eclipse.persistence.descriptors.ClassDescriptor-java.lang.String-">isAttributeJoined</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#isCacheCheckComplete--">isCacheCheckComplete</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#isObjectBuildingQuery--">isObjectBuildingQuery</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#isRegisteringResults--">isRegisteringResults</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#postRegisterIndividualResult-java.lang.Object-java.lang.Object-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.queries.JoinedAttributeManager-org.eclipse.persistence.descriptors.ClassDescriptor-">postRegisterIndividualResult</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#prepareCustomQuery-org.eclipse.persistence.queries.DatabaseQuery-">prepareCustomQuery</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#registerIndividualResult-java.lang.Object-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.queries.JoinedAttributeManager-org.eclipse.persistence.descriptors.ClassDescriptor-">registerIndividualResult</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#requiresDeferredLocks--">requiresDeferredLocks</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setExecutionTime-long-">setExecutionTime</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setPrefetchedCacheKeys-java.util.Map-">setPrefetchedCacheKeys</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setRequiresDeferredLocks-boolean-">setRequiresDeferredLocks</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setShouldBuildNullForNullPk-boolean-">setShouldBuildNullForNullPk</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setShouldRefreshIdentityMapResult-boolean-">setShouldRefreshIdentityMapResult</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setShouldRefreshRemoteIdentityMapResult-boolean-">setShouldRefreshRemoteIdentityMapResult</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setShouldRegisterResultsInUnitOfWork-boolean-">setShouldRegisterResultsInUnitOfWork</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setShouldUseExclusiveConnection-boolean-">setShouldUseExclusiveConnection</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setWasDefaultLockMode-boolean-">setWasDefaultLockMode</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldBuildNullForNullPk--">shouldBuildNullForNullPk</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldRefreshIdentityMapResult--">shouldRefreshIdentityMapResult</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldRefreshRemoteIdentityMapResult--">shouldRefreshRemoteIdentityMapResult</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldRegisterResultsInUnitOfWork--">shouldRegisterResultsInUnitOfWork</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldUseExclusiveConnection--">shouldUseExclusiveConnection</a>, <a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#wasDefaultLockMode--">wasDefaultLockMode</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.queries.ReadQuery">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.persistence.queries.<a href="../../../../org/eclipse/persistence/queries/ReadQuery.html" title="class in org.eclipse.persistence.queries">ReadQuery</a></h3>
<code><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#cacheQueryResults--">cacheQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#cacheResult-java.lang.Object-">cacheResult</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#clearQueryResults-org.eclipse.persistence.internal.sessions.AbstractSession-">clearQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#doNotCacheQueryResults--">doNotCacheQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getFetchSize--">getFetchSize</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getFirstResult--">getFirstResult</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getInternalMax--">getInternalMax</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getMaxRows--">getMaxRows</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getQueryId--">getQueryId</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getQueryResults-org.eclipse.persistence.internal.sessions.AbstractSession-">getQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getQueryResults-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-boolean-">getQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getQueryResults-org.eclipse.persistence.internal.sessions.AbstractSession-boolean-">getQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getQueryResultsCachePolicy--">getQueryResultsCachePolicy</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#getTemporaryCachedQueryResults--">getTemporaryCachedQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#isReadQuery--">isReadQuery</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#prepareForExecution--">prepareForExecution</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#remoteExecute-org.eclipse.persistence.internal.sessions.AbstractSession-">remoteExecute</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#setFetchSize-int-">setFetchSize</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#setFirstResult-int-">setFirstResult</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#setInternalMax-int-">setInternalMax</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#setMaxRows-int-">setMaxRows</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#setQueryId-long-">setQueryId</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#setQueryResults-java.lang.Object-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.internal.sessions.AbstractSession-">setQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#setQueryResultsCachePolicy-org.eclipse.persistence.queries.QueryResultsCachePolicy-">setQueryResultsCachePolicy</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#setTemporaryCachedQueryResults-java.lang.Object-">setTemporaryCachedQueryResults</a>, <a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#shouldCacheQueryResults--">shouldCacheQueryResults</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.queries.DatabaseQuery">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.persistence.queries.<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></h3>
<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgument-java.lang.String-">addArgument</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgument-java.lang.String-java.lang.Class-">addArgument</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgument-java.lang.String-java.lang.Class-boolean-">addArgument</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgument-java.lang.String-java.lang.Class-org.eclipse.persistence.queries.DatabaseQuery.ParameterType-">addArgument</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgument-java.lang.String-java.lang.Class-org.eclipse.persistence.queries.DatabaseQuery.ParameterType-boolean-">addArgument</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgument-java.lang.String-java.lang.String-">addArgument</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgumentByTypeName-java.lang.String-java.lang.String-">addArgumentByTypeName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgumentValue-java.lang.Object-">addArgumentValue</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addArgumentValues-java.util.List-">addArgumentValues</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addCall-org.eclipse.persistence.queries.Call-">addCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#addStatement-org.eclipse.persistence.internal.expressions.SQLStatement-">addStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#bindAllParameters--">bindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#buildArgumentFields--">buildArgumentFields</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#buildSelectionCriteria-org.eclipse.persistence.internal.sessions.AbstractSession-">buildSelectionCriteria</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#cacheStatement--">cacheStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#cascadeAllParts--">cascadeAllParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#cascadeByMapping--">cascadeByMapping</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#cascadeOnlyDependentParts--">cascadeOnlyDependentParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#cascadePrivateParts--">cascadePrivateParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#checkPrepare-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">checkPrepare</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#dontBindAllParameters--">dontBindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#dontCacheStatement--">dontCacheStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#dontCascadeParts--">dontCascadeParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#dontMaintainCache--">dontMaintainCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#extractRemoteResult-org.eclipse.persistence.internal.sessions.remote.Transporter-">extractRemoteResult</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getAccessor--">getAccessor</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getAccessors--">getAccessors</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getArgumentParameterTypes--">getArgumentParameterTypes</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getArguments--">getArguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getArgumentTypeNames--">getArgumentTypeNames</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getArgumentTypes--">getArgumentTypes</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getArgumentValues--">getArgumentValues</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getCall--">getCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getCascadePolicy--">getCascadePolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getDatasourceCall--">getDatasourceCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getDatasourceCalls--">getDatasourceCalls</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getDefaultRedirector--">getDefaultRedirector</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getDescriptor--">getDescriptor</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getDescriptors--">getDescriptors</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getDomainClassNounName-java.lang.String-">getDomainClassNounName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getDoNotRedirect--">getDoNotRedirect</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getEJBQLString--">getEJBQLString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getExecutionSession--">getExecutionSession</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getFlushOnExecute--">getFlushOnExecute</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getHintString--">getHintString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getJPQLString--">getJPQLString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getMonitorName--">getMonitorName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getName--">getName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getNullableArguments--">getNullableArguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getParameterDelimiter--">getParameterDelimiter</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getParameterDelimiterChar--">getParameterDelimiterChar</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getPartitioningPolicy--">getPartitioningPolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getProperties--">getProperties</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getProperty-java.lang.Object-">getProperty</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getQueryMechanism--">getQueryMechanism</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getQueryNounName-java.lang.String-">getQueryNounName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getQueryTimeout--">getQueryTimeout</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getQueryTimeoutUnit--">getQueryTimeoutUnit</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getRedirector--">getRedirector</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getRedirectorForQuery--">getRedirectorForQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getSelectionCriteria--">getSelectionCriteria</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getSensorName-java.lang.String-java.lang.String-">getSensorName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getSession--">getSession</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getSessionName--">getSessionName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getShouldBindAllParameters--">getShouldBindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getSourceMapping--">getSourceMapping</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getSQLStatement--">getSQLStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getSQLString--">getSQLString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getSQLStrings--">getSQLStrings</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getTranslatedSQLString-org.eclipse.persistence.sessions.Session-org.eclipse.persistence.sessions.Record-">getTranslatedSQLString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getTranslatedSQLStrings-org.eclipse.persistence.sessions.Session-org.eclipse.persistence.sessions.Record-">getTranslatedSQLStrings</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getTranslationRow--">getTranslationRow</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#hasAccessor--">hasAccessor</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#hasArguments--">hasArguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#hasNullableArguments--">hasNullableArguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#hasProperties--">hasProperties</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#hasQueryMechanism--">hasQueryMechanism</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#hasSessionName--">hasSessionName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#ignoreBindAllParameters--">ignoreBindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#ignoreCacheStatement--">ignoreCacheStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isCallQuery--">isCallQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isCascadeOfAggregateDelete--">isCascadeOfAggregateDelete</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isCustomQueryUsed--">isCustomQueryUsed</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isCustomSelectionQuery--">isCustomSelectionQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isDataModifyQuery--">isDataModifyQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isDataReadQuery--">isDataReadQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isDeleteAllQuery--">isDeleteAllQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isDeleteObjectQuery--">isDeleteObjectQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isDirectReadQuery--">isDirectReadQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isExecutionClone--">isExecutionClone</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isExpressionQuery--">isExpressionQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isInsertObjectQuery--">isInsertObjectQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isJPQLCallQuery--">isJPQLCallQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isModifyAllQuery--">isModifyAllQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isModifyQuery--">isModifyQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isNativeConnectionRequired--">isNativeConnectionRequired</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isObjectLevelModifyQuery--">isObjectLevelModifyQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isPrepared--">isPrepared</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isReadAllQuery--">isReadAllQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isReadObjectQuery--">isReadObjectQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isReportQuery--">isReportQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isResultSetMappingQuery--">isResultSetMappingQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isSQLCallQuery--">isSQLCallQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isUpdateAllQuery--">isUpdateAllQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isUpdateObjectQuery--">isUpdateObjectQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isUserDefined--">isUserDefined</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isUserDefinedSQLCall--">isUserDefinedSQLCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isValueReadQuery--">isValueReadQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isWriteObjectQuery--">isWriteObjectQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#maintainCache--">maintainCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#prepareCall-org.eclipse.persistence.sessions.Session-org.eclipse.persistence.sessions.Record-">prepareCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#prepareInternal-org.eclipse.persistence.internal.sessions.AbstractSession-">prepareInternal</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#redirectQuery-org.eclipse.persistence.queries.QueryRedirector-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">redirectQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#remoteExecute--">remoteExecute</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#removeProperty-java.lang.Object-">removeProperty</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#replaceValueHoldersIn-java.lang.Object-org.eclipse.persistence.internal.sessions.remote.RemoteSessionController-">replaceValueHoldersIn</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#resetMonitorName--">resetMonitorName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#retrieveBypassCache--">retrieveBypassCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#rowFromArguments-java.util.List-org.eclipse.persistence.internal.sessions.AbstractSession-">rowFromArguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setAccessor-org.eclipse.persistence.internal.databaseaccess.Accessor-">setAccessor</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setAccessors-java.util.Collection-">setAccessors</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setAllowNativeSQLQuery-java.lang.Boolean-">setAllowNativeSQLQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setArguments-java.util.List-">setArguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setArgumentTypeNames-java.util.List-">setArgumentTypeNames</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setArgumentTypes-java.util.List-">setArgumentTypes</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setArgumentValues-java.util.List-">setArgumentValues</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setCall-org.eclipse.persistence.queries.Call-">setCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setCascadePolicy-int-">setCascadePolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setDatasourceCall-org.eclipse.persistence.queries.Call-">setDatasourceCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setDoNotRedirect-boolean-">setDoNotRedirect</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setExecutionSession-org.eclipse.persistence.internal.sessions.AbstractSession-">setExecutionSession</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setFlushOnExecute-java.lang.Boolean-">setFlushOnExecute</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setHintString-java.lang.String-">setHintString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setIsCustomQueryUsed-boolean-">setIsCustomQueryUsed</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setIsExecutionClone-boolean-">setIsExecutionClone</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setIsNativeConnectionRequired-boolean-">setIsNativeConnectionRequired</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setIsUserDefined-boolean-">setIsUserDefined</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setIsUserDefinedSQLCall-boolean-">setIsUserDefinedSQLCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setJPQLString-java.lang.String-">setJPQLString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setName-java.lang.String-">setName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setNullableArguments-java.util.List-">setNullableArguments</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setParameterDelimiter-java.lang.String-">setParameterDelimiter</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setPartitioningPolicy-org.eclipse.persistence.descriptors.partitioning.PartitioningPolicy-">setPartitioningPolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setProperties-java.util.Map-">setProperties</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setProperty-java.lang.Object-java.lang.Object-">setProperty</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setQueryMechanism-org.eclipse.persistence.internal.queries.DatabaseQueryMechanism-">setQueryMechanism</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setQueryTimeout-int-">setQueryTimeout</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setQueryTimeoutUnit-java.util.concurrent.TimeUnit-">setQueryTimeoutUnit</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setRedirector-org.eclipse.persistence.queries.QueryRedirector-">setRedirector</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setSession-org.eclipse.persistence.internal.sessions.AbstractSession-">setSession</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setSessionName-java.lang.String-">setSessionName</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldBindAllParameters-boolean-">setShouldBindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldBindAllParameters-java.lang.Boolean-">setShouldBindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldCacheStatement-boolean-">setShouldCacheStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldMaintainCache-boolean-">setShouldMaintainCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldPrepare-boolean-">setShouldPrepare</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldRetrieveBypassCache-boolean-">setShouldRetrieveBypassCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldStoreBypassCache-boolean-">setShouldStoreBypassCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldUseWrapperPolicy-boolean-">setShouldUseWrapperPolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldValidateUpdateCallCacheUse-boolean-">setShouldValidateUpdateCallCacheUse</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setSourceMapping-org.eclipse.persistence.mappings.DatabaseMapping-">setSourceMapping</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setSQLStatement-org.eclipse.persistence.internal.expressions.SQLStatement-">setSQLStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setSQLString-java.lang.String-">setSQLString</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setTranslationRow-org.eclipse.persistence.internal.sessions.AbstractRecord-">setTranslationRow</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldAllowNativeSQLQuery-boolean-">shouldAllowNativeSQLQuery</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldBindAllParameters--">shouldBindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCacheStatement--">shouldCacheStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCascadeAllParts--">shouldCascadeAllParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCascadeByMapping--">shouldCascadeByMapping</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCascadeOnlyDependentParts--">shouldCascadeOnlyDependentParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCascadeParts--">shouldCascadeParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCascadePrivateParts--">shouldCascadePrivateParts</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldCloneCall--">shouldCloneCall</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldIgnoreBindAllParameters--">shouldIgnoreBindAllParameters</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldIgnoreCacheStatement--">shouldIgnoreCacheStatement</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldMaintainCache--">shouldMaintainCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldPrepare--">shouldPrepare</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldPrepare-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.internal.sessions.AbstractSession-">shouldPrepare</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldRetrieveBypassCache--">shouldRetrieveBypassCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldStoreBypassCache--">shouldStoreBypassCache</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldUseWrapperPolicy--">shouldUseWrapperPolicy</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#shouldValidateUpdateCallCacheUse--">shouldValidateUpdateCallCacheUse</a>, <a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#storeBypassCache--">storeBypassCache</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</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="READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>READ</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> READ</pre>
<div class="block">Names of the possible lock mode types, JPA 1.0 and 2.0</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.READ">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="WRITE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WRITE</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> WRITE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.WRITE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="NONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NONE</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> NONE</pre>
<div class="block">Names of the possible lock mode types, JPA 2.0 only</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.NONE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PESSIMISTIC_">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PESSIMISTIC_</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PESSIMISTIC_</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.PESSIMISTIC_">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PESSIMISTIC_READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PESSIMISTIC_READ</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PESSIMISTIC_READ</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.PESSIMISTIC_READ">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PESSIMISTIC_WRITE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PESSIMISTIC_WRITE</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PESSIMISTIC_WRITE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.PESSIMISTIC_WRITE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PESSIMISTIC_FORCE_INCREMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PESSIMISTIC_FORCE_INCREMENT</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PESSIMISTIC_FORCE_INCREMENT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.PESSIMISTIC_FORCE_INCREMENT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="OPTIMISTIC">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OPTIMISTIC</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> OPTIMISTIC</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.OPTIMISTIC">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="OPTIMISTIC_FORCE_INCREMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OPTIMISTIC_FORCE_INCREMENT</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> OPTIMISTIC_FORCE_INCREMENT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.OPTIMISTIC_FORCE_INCREMENT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="defaultBuilder">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultBuilder</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/persistence/expressions/ExpressionBuilder.html" title="class in org.eclipse.persistence.expressions">ExpressionBuilder</a> defaultBuilder</pre>
<div class="block">Provide a default builder so that it's easier to be consistent</div>
</li>
</ul>
<a name="cacheUsage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cacheUsage</h4>
<pre>protected&nbsp;int cacheUsage</pre>
<div class="block">Allow for the cache usage to be specified to enable in-memory querying.</div>
</li>
</ul>
<a name="UseDescriptorSetting">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UseDescriptorSetting</h4>
<pre>public static final&nbsp;int UseDescriptorSetting</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.UseDescriptorSetting">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DoNotCheckCache">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DoNotCheckCache</h4>
<pre>public static final&nbsp;int DoNotCheckCache</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.DoNotCheckCache">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CheckCacheByExactPrimaryKey">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CheckCacheByExactPrimaryKey</h4>
<pre>public static final&nbsp;int CheckCacheByExactPrimaryKey</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.CheckCacheByExactPrimaryKey">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CheckCacheByPrimaryKey">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CheckCacheByPrimaryKey</h4>
<pre>public static final&nbsp;int CheckCacheByPrimaryKey</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.CheckCacheByPrimaryKey">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CheckCacheThenDatabase">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CheckCacheThenDatabase</h4>
<pre>public static final&nbsp;int CheckCacheThenDatabase</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.CheckCacheThenDatabase">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CheckCacheOnly">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CheckCacheOnly</h4>
<pre>public static final&nbsp;int CheckCacheOnly</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.CheckCacheOnly">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ConformResultsInUnitOfWork">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ConformResultsInUnitOfWork</h4>
<pre>public static final&nbsp;int ConformResultsInUnitOfWork</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.ConformResultsInUnitOfWork">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="additionalFields">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>additionalFields</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt; additionalFields</pre>
<div class="block">Allow for additional fields to be selected, used for m-m batch reading.
Can contain DatabaseField or Expression.</div>
</li>
</ul>
<a name="shouldIncludeData">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldIncludeData</h4>
<pre>protected&nbsp;boolean shouldIncludeData</pre>
<div class="block">Allow for a complex result to be return including the rows and objects, used for m-m batch reading.</div>
</li>
</ul>
<a name="isPrePrepared">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPrePrepared</h4>
<pre>protected&nbsp;boolean isPrePrepared</pre>
<div class="block">Allow a prePrepare stage to build the expression for EJBQL and QBE and resolve joining.</div>
</li>
</ul>
<a name="distinctState">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>distinctState</h4>
<pre>protected&nbsp;short distinctState</pre>
<div class="block">Indicates if distinct should be used or not.</div>
</li>
</ul>
<a name="UNCOMPUTED_DISTINCT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNCOMPUTED_DISTINCT</h4>
<pre>public static final&nbsp;short UNCOMPUTED_DISTINCT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.UNCOMPUTED_DISTINCT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="USE_DISTINCT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>USE_DISTINCT</h4>
<pre>public static final&nbsp;short USE_DISTINCT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.USE_DISTINCT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DONT_USE_DISTINCT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DONT_USE_DISTINCT</h4>
<pre>public static final&nbsp;short DONT_USE_DISTINCT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.persistence.queries.ObjectLevelReadQuery.DONT_USE_DISTINCT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="inMemoryQueryIndirectionPolicy">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inMemoryQueryIndirectionPolicy</h4>
<pre>protected&nbsp;int inMemoryQueryIndirectionPolicy</pre>
<div class="block">Used to determine behavior of indirection in in-memory querying and conforming.</div>
</li>
</ul>
<a name="fetchGroup">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fetchGroup</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a> fetchGroup</pre>
<div class="block"><a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries"><code>FetchGroup</code></a> specified on this query. When set this FetchGroup will
override the <a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#fetchGroupName"><code>fetchGroupName</code></a> and the use of the descriptor's
<a href="../../../../org/eclipse/persistence/descriptors/FetchGroupManager.html#getDefaultFetchGroup--"><code>FetchGroupManager.getDefaultFetchGroup()</code></a></div>
</li>
</ul>
<a name="fetchGroupName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fetchGroupName</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fetchGroupName</pre>
<div class="block">Name of <a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries"><code>FetchGroup</code></a> stored in the <a href="../../../../org/eclipse/persistence/descriptors/FetchGroupManager.html" title="class in org.eclipse.persistence.descriptors"><code>FetchGroupManager</code></a> of the
reference class' descriptor or any of its parent descriptors.</div>
</li>
</ul>
<a name="shouldUseDefaultFetchGroup">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldUseDefaultFetchGroup</h4>
<pre>protected&nbsp;boolean shouldUseDefaultFetchGroup</pre>
<div class="block">Flag to turn on/off the use of the default fetch group.</div>
</li>
</ul>
<a name="loadGroup">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadGroup</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/persistence/queries/LoadGroup.html" title="class in org.eclipse.persistence.queries">LoadGroup</a> loadGroup</pre>
<div class="block">Specifies indirection that should be instantiated before returning result</div>
</li>
</ul>
<a name="nonFetchJoinAttributeExpressions">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nonFetchJoinAttributeExpressions</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt; nonFetchJoinAttributeExpressions</pre>
<div class="block">Stores the non fetchjoin attributes, these are joins that will be
represented in the where clause but not in the select.</div>
</li>
</ul>
<a name="partialAttributeExpressions">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>partialAttributeExpressions</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt; partialAttributeExpressions</pre>
<div class="block">Stores the partial attributes that have been added to this query</div>
</li>
</ul>
<a name="joinedAttributeManager">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinedAttributeManager</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.queries.JoinedAttributeManager joinedAttributeManager</pre>
<div class="block">Stores the helper object for dealing with joined attributes</div>
</li>
</ul>
<a name="batchFetchPolicy">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>batchFetchPolicy</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/persistence/queries/BatchFetchPolicy.html" title="class in org.eclipse.persistence.queries">BatchFetchPolicy</a> batchFetchPolicy</pre>
<div class="block">Defines batch fetching configuration.</div>
</li>
</ul>
<a name="isReferenceClassLocked">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReferenceClassLocked</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isReferenceClassLocked</pre>
<div class="block">PERF: Caches locking policy isReferenceClassLocked setting.</div>
</li>
</ul>
<a name="isResultSetOptimizedQuery">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResultSetOptimizedQuery</h4>
<pre>protected&nbsp;boolean isResultSetOptimizedQuery</pre>
<div class="block">PERF: Allow queries to build directly from the database result-set.</div>
</li>
</ul>
<a name="isResultSetAccessOptimizedQuery">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResultSetAccessOptimizedQuery</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> isResultSetAccessOptimizedQuery</pre>
<div class="block">PERF: Allow queries to build while accessing the database result-set. Skips accessing result set non-pk fields in case the cached object is found.
If ResultSet optimization is used (isResultSetOptimizedQuery is set to true) then ResultSet Access optimization is ignored.</div>
</li>
</ul>
<a name="isResultSetAccessOptimizedQueryDefault">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResultSetAccessOptimizedQueryDefault</h4>
<pre>public static&nbsp;boolean isResultSetAccessOptimizedQueryDefault</pre>
<div class="block">If neither query specifies isResultSetOptimizedQuery nor session specifies shouldOptimizeResultSetAccess
then this value is used to indicate whether optimization should be attempted</div>
</li>
</ul>
<a name="usesResultSetAccessOptimization">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>usesResultSetAccessOptimization</h4>
<pre>protected transient&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> usesResultSetAccessOptimization</pre>
<div class="block">PERF: Indicates whether the query is actually using ResultSet optimization. If isResultSetOptimizedQuery==null set automatically before executing call.</div>
</li>
</ul>
<a name="isReadOnly">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadOnly</h4>
<pre>protected&nbsp;boolean isReadOnly</pre>
<div class="block">PERF: Allow queries to be defined as read-only in unit of work execution.</div>
</li>
</ul>
<a name="shouldOuterJoinSubclasses">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldOuterJoinSubclasses</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> shouldOuterJoinSubclasses</pre>
<div class="block">Define if an outer join should be used to read subclasses.</div>
</li>
</ul>
<a name="concreteSubclassCalls">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concreteSubclassCalls</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,org.eclipse.persistence.internal.databaseaccess.DatabaseCall&gt; concreteSubclassCalls</pre>
<div class="block">Allow concrete subclasses calls to be prepared and cached for inheritance queries.</div>
</li>
</ul>
<a name="concreteSubclassQueries">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concreteSubclassQueries</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&gt; concreteSubclassQueries</pre>
<div class="block">Allow concrete subclasses queries to be prepared and cached for inheritance queries.</div>
</li>
</ul>
<a name="aggregateQueries">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggregateQueries</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>,<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a>&gt; aggregateQueries</pre>
<div class="block">Allow aggregate queries to be prepared and cached.</div>
</li>
</ul>
<a name="concreteSubclassJoinedMappingIndexes">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concreteSubclassJoinedMappingIndexes</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&gt; concreteSubclassJoinedMappingIndexes</pre>
<div class="block">Allow concrete subclasses joined mapping indexes to be prepared and cached for inheritance queries.</div>
</li>
</ul>
<a name="lockModeType">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lockModeType</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> lockModeType</pre>
<div class="block">Used when specifying a lock mode for the query</div>
</li>
</ul>
<a name="waitTimeout">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitTimeout</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> waitTimeout</pre>
<div class="block">waitTimeout has three possible setting: null, 0 and 1..N
null: use the session.getPessimisticLockTimeoutDefault() if available.
0: issue a LOCK_NOWAIT
1..N: use this value to set the WAIT clause.</div>
</li>
</ul>
<a name="waitTimeoutUnit">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitTimeoutUnit</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> waitTimeoutUnit</pre>
</li>
</ul>
<a name="orderByExpressions">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>orderByExpressions</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt; orderByExpressions</pre>
<div class="block">Used for ordering support.</div>
</li>
</ul>
<a name="shouldExtendPessimisticLockScope">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldExtendPessimisticLockScope</h4>
<pre>protected&nbsp;boolean shouldExtendPessimisticLockScope</pre>
<div class="block">Indicates whether pessimistic lock should also be applied to relation tables (ManyToMany and OneToOne mappings),
reference tables (DirectCollection and AggregateCollection mapping).</div>
</li>
</ul>
<a name="unionExpressions">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unionExpressions</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt; unionExpressions</pre>
<div class="block">Allow a query's results to be unioned (UNION, INTERSECT, EXCEPT) with another query results.</div>
</li>
</ul>
<a name="isCachedExpressionQuery">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCachedExpressionQuery</h4>
<pre>protected&nbsp;boolean isCachedExpressionQuery</pre>
<div class="block">Indicates whether the query is cached as an expression query in descriptor's query manager.</div>
</li>
</ul>
<a name="shouldUseSerializedObjectPolicyDefault">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldUseSerializedObjectPolicyDefault</h4>
<pre>public static&nbsp;boolean shouldUseSerializedObjectPolicyDefault</pre>
<div class="block">default value for shouldUseSerializedObjectPolicy</div>
</li>
</ul>
<a name="shouldUseSerializedObjectPolicy">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>shouldUseSerializedObjectPolicy</h4>
<pre>protected&nbsp;boolean shouldUseSerializedObjectPolicy</pre>
<div class="block">Indicates whether the query should use SerializedObjectPolicy if descriptor has it.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ObjectLevelReadQuery--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ObjectLevelReadQuery</h4>
<pre>public&nbsp;ObjectLevelReadQuery()</pre>
<div class="block">INTERNAL:
Initialize the state of the query</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="union-org.eclipse.persistence.queries.ReportQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre>public&nbsp;void&nbsp;union(<a href="../../../../org/eclipse/persistence/queries/ReportQuery.html" title="class in org.eclipse.persistence.queries">ReportQuery</a>&nbsp;query)</pre>
<div class="block">PUBLIC:
Union the query results with the other query.</div>
</li>
</ul>
<a name="intersect-org.eclipse.persistence.queries.ReportQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersect</h4>
<pre>public&nbsp;void&nbsp;intersect(<a href="../../../../org/eclipse/persistence/queries/ReportQuery.html" title="class in org.eclipse.persistence.queries">ReportQuery</a>&nbsp;query)</pre>
<div class="block">PUBLIC:
Intersect the query results with the other query.</div>
</li>
</ul>
<a name="except-org.eclipse.persistence.queries.ReportQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>except</h4>
<pre>public&nbsp;void&nbsp;except(<a href="../../../../org/eclipse/persistence/queries/ReportQuery.html" title="class in org.eclipse.persistence.queries">ReportQuery</a>&nbsp;query)</pre>
<div class="block">PUBLIC:
Except the query results with the other query.</div>
</li>
</ul>
<a name="addUnionExpression-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addUnionExpression</h4>
<pre>public&nbsp;void&nbsp;addUnionExpression(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;union)</pre>
<div class="block">PUBLIC:
Add the union expression to the query.
A union expression must be created with the query's expression builder
and one of union/unionAll/intersect/intersectAll/except/exceptAll with a subquery expression.</div>
</li>
</ul>
<a name="getUnionExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnionExpressions</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;getUnionExpressions()</pre>
<div class="block">Return any union expressions.</div>
</li>
</ul>
<a name="setUnionExpressions-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUnionExpressions</h4>
<pre>public&nbsp;void&nbsp;setUnionExpressions(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;unionExpressions)</pre>
<div class="block">INTERNAL:
Set any union expressions.</div>
</li>
</ul>
<a name="addDescendingOrdering-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDescendingOrdering</h4>
<pre>public&nbsp;void&nbsp;addDescendingOrdering(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queryKeyName)</pre>
<div class="block">PUBLIC:
Order the query results by the object's attribute or query key name.</div>
</li>
</ul>
<a name="addOrdering-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addOrdering</h4>
<pre>public&nbsp;void&nbsp;addOrdering(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;orderingExpression)</pre>
<div class="block">PUBLIC:
Add the ordering expression. This allows for ordering across relationships or functions.
Example: readAllQuery.addOrdering(expBuilder.get("address").get("city").toUpperCase().descending())</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</pre>
<div class="block">INTERNAL:
Return if the query is equal to the other.
This is used to allow dynamic expression query SQL to be cached.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<div class="block">INTERNAL:
Compute a consistent hash-code for the expression.
This is used to allow dynamic expression's SQL to be cached.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="isReadOnly--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadOnly</h4>
<pre>public&nbsp;boolean&nbsp;isReadOnly()</pre>
<div class="block">PUBLIC:
Return if the query is read-only.
This allows queries executed against a UnitOfWork to be read-only.
This means the query will be executed against the Session,
and the resulting objects will not be tracked for changes.
The resulting objects are from the Session shared cache,
and must not be modified.</div>
</li>
</ul>
<a name="setIsReadOnly-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIsReadOnly</h4>
<pre>public&nbsp;void&nbsp;setIsReadOnly(boolean&nbsp;isReadOnly)</pre>
<div class="block">PUBLIC:
Set the query to be read-only.
This allows queries executed against a UnitOfWork to be read-only.
This means the query will be executed against the Session,
and the resulting objects will not be tracked for changes.
The resulting objects are from the Session shared cache,
and must not be modified.</div>
</li>
</ul>
<a name="setWaitTimeout-java.lang.Integer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWaitTimeout</h4>
<pre>public&nbsp;void&nbsp;setWaitTimeout(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;waitTimeout)</pre>
<div class="block">PUBLIC:
Sets that this a pessimistic wait locking query.
<ul>
<li>ObjectBuildingQuery.LOCK: SELECT .... FOR UPDATE WAIT issued.
</ul>
<p>Fine Grained Locking: On execution the reference class and those of
all joined attributes will be checked. If any of these have a
PessimisticLockingPolicy set on their descriptor, they will be locked
in a SELECT ... FOR UPDATE OF ... {NO WAIT}. Issues fewer locks
and avoids setting the lock mode on each query.
<p>Example:
<code>readAllQuery.setSelectionCriteria(employee.get("address").equal("Ottawa"));</code>
<ul>
<li>LOCK: all employees in Ottawa and all referenced Ottawa addresses
will be locked and the lock will wait only the specified amount of time.
</ul></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/descriptors/PessimisticLockingPolicy.html" title="class in org.eclipse.persistence.descriptors"><code>PessimisticLockingPolicy</code></a></dd>
</dl>
</li>
</ul>
<a name="setWaitTimeoutUnit-java.util.concurrent.TimeUnit-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWaitTimeoutUnit</h4>
<pre>public&nbsp;void&nbsp;setWaitTimeoutUnit(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;waitTimeoutUnit)</pre>
</li>
</ul>
<a name="checkCustomQueryFlag-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkCustomQueryFlag</h4>
<pre>protected abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;checkCustomQueryFlag(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</pre>
<div class="block">INTERNAL:
Check and return custom query flag. Custom query flag value is initialized when stored value is <code>null</code>.
Called from <a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkForCustomQuery-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-"><code>checkForCustomQuery(AbstractSession, AbstractRecord)</code></a> to retrieve custom query flag.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - Current session.</dd>
<dd><code>translationRow</code> - Database record.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Current custom query flag. Value shall never be <code>null</code>.</dd>
</dl>
</li>
</ul>
<a name="getReadQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadQuery</h4>
<pre>protected abstract&nbsp;<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a>&nbsp;getReadQuery()</pre>
<div class="block">INTERNAL:
Get custom read query from query manager.
Called from <a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#checkForCustomQuery-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-"><code>checkForCustomQuery(AbstractSession, AbstractRecord)</code></a> to retrieve custom read query.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Custom read query from query manager.</dd>
</dl>
</li>
</ul>
<a name="checkForCustomQuery-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkForCustomQuery</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;checkForCustomQuery(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</pre>
<div class="block">INTERNAL:
Check to see if a custom query should be used for this query.
This is done before the query is copied and prepared/executed. Value of <code>null</code> means there is none.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#checkForCustomQuery-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">checkForCustomQuery</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - Current session.</dd>
<dd><code>translationRow</code> - Database record.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Custom database query or <code>null</code> when custom database query is not set.</dd>
</dl>
</li>
</ul>
<a name="clone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone()</pre>
<div class="block">INTERNAL:
Creates and returns a copy of this query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A clone of this instance.</dd>
</dl>
</li>
</ul>
<a name="deepClone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deepClone</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;deepClone()</pre>
<div class="block">INTERNAL:
Clone the query, including its selection criteria.
<p>
Normally selection criteria are not cloned here as they are cloned
later on during prepare.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#deepClone--">deepClone</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="acquireLocks--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acquireLocks</h4>
<pre>public&nbsp;void&nbsp;acquireLocks()</pre>
<div class="block">PUBLIC:
Set the query to lock, this will also turn refreshCache on.</div>
</li>
</ul>
<a name="acquireLocksWithoutWaiting--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acquireLocksWithoutWaiting</h4>
<pre>public&nbsp;void&nbsp;acquireLocksWithoutWaiting()</pre>
<div class="block">PUBLIC:
Set the query to lock without waiting (blocking), this will also turn refreshCache on.</div>
</li>
</ul>
<a name="addAdditionalField-org.eclipse.persistence.internal.helper.DatabaseField-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAdditionalField</h4>
<pre>public&nbsp;void&nbsp;addAdditionalField(org.eclipse.persistence.internal.helper.DatabaseField&nbsp;field)</pre>
<div class="block">INTERNAL:
Additional fields can be added to a query. This is used in m-m batch reading to bring back the key from the join table.</div>
</li>
</ul>
<a name="addAdditionalField-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAdditionalField</h4>
<pre>public&nbsp;void&nbsp;addAdditionalField(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;fieldExpression)</pre>
<div class="block">INTERNAL:
Additional fields can be added to a query. This is used in m-m batch reading to bring back the key from the join table.</div>
</li>
</ul>
<a name="addJoinedAttribute-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addJoinedAttribute</h4>
<pre>public&nbsp;void&nbsp;addJoinedAttribute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</pre>
<div class="block">PUBLIC:
Specify the relationship attribute to be join fetched in this query.
The query will join the object(s) being read with the attribute,
this allows all of the data required for the object(s) to be read in a single query instead of (n) queries.
This should be used when the application knows that it requires the part for all of the objects being read.
<p>Note: This cannot be used for objects where it is possible not to have a part,
as these objects will be omitted from the result set,
unless an outer join is used through passing and expression using "getAllowingNull".
To join fetch collection relationships use the addJoinedAttribute(Expression) using "anyOf" to "anyOfAllowingNone".
<p>Example: query.addJoinedAttribute("address")</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addJoinedAttribute-org.eclipse.persistence.expressions.Expression-"><code>addJoinedAttribute(Expression)</code></a>,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addBatchReadAttribute-org.eclipse.persistence.expressions.Expression-"><code>addBatchReadAttribute(Expression)</code></a></dd>
</dl>
</li>
</ul>
<a name="addJoinedAttribute-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addJoinedAttribute</h4>
<pre>public&nbsp;void&nbsp;addJoinedAttribute(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;attributeExpression)</pre>
<div class="block">PUBLIC:
Specify the attribute to be join fetched in this query.
The query will join the object(s) being read with the specified attribute,
this allows all of the data required for the object(s) to be read in a single query instead of (n) queries.
This should be used when the application knows that it requires the part for all of the objects being read.
<p>Note: This cannot be used for objects where it is possible not to have a part,
as these objects will be omitted from the result set,
unless an outer join is used through passing and expression using "getAllowingNull".
<p>Example:
The following will fetch along with Employee(s) "Jones" all projects they participate in
along with teamLeaders and their addresses, teamMembers and their phones.
query.setSelectionCriteria(query.getExpressionBuilder().get("lastName").equal("Jones"));
Expression projects = query.getExpressionBuilder().anyOf("projects");
query.addJoinedAttribute(projects);
Expression teamLeader = projects.get("teamLeader");
query.addJoinedAttribute(teamLeader);
Expression teamLeaderAddress = teamLeader.getAllowingNull("address");
query.addJoinedAttribute(teamLeaderAddress);
Expression teamMembers = projects.anyOf("teamMembers");
query.addJoinedAttribute(teamMembers);
Expression teamMembersPhones = teamMembers.anyOfAllowingNone("phoneNumbers");
query.addJoinedAttribute(teamMembersPhones);
Note that:
the order is essential: an expression should be added before any expression derived from it;
the object is built once - it won't be rebuilt if it to be read again as a joined attribute:
in the example the query won't get phones for "Jones" -
even though they are among teamMembers (for whom phones are read).</div>
</li>
</ul>
<a name="addNonFetchJoinedAttribute-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNonFetchJoinedAttribute</h4>
<pre>public&nbsp;void&nbsp;addNonFetchJoinedAttribute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</pre>
<div class="block">PUBLIC:
Specify the relationship attribute to be join in this query.
This allows the query results to be filtered based on the relationship join.
The query will join the object(s) being read with the attribute.
The difference between this and a joined fetched attribute is that
it does not select the joined data nor populate the joined attribute,
it is only used to filter the query results.
<p>Example: query.addNonFetchJoinedAttribute("address")</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addNonFetchJoinedAttribute-org.eclipse.persistence.expressions.Expression-"><code>addNonFetchJoinedAttribute(Expression)</code></a></dd>
</dl>
</li>
</ul>
<a name="addNonFetchJoinedAttribute-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNonFetchJoinedAttribute</h4>
<pre>public&nbsp;void&nbsp;addNonFetchJoinedAttribute(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;attributeExpression)</pre>
<div class="block">PUBLIC:
Specify the relationship attribute to be join in this query.
This allows the query results to be filtered based on the relationship join.
The query will join the object(s) being read with the attribute.
The difference between this and a joined fetched attribute is that
it does not select the joined data nor populate the joined attribute,
it is only used to filter the query results.
<p>Example: query.addNonFetchJoinedAttribute(query.getExpressionBuilder().get("teamLeader").get("address"))</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addNonFetchJoinedAttribute-org.eclipse.persistence.expressions.Expression-"><code>addNonFetchJoinedAttribute(Expression)</code></a></dd>
</dl>
</li>
</ul>
<a name="addNonFetchJoin-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNonFetchJoin</h4>
<pre>public&nbsp;void&nbsp;addNonFetchJoin(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;target)</pre>
<div class="block">PUBLIC:
Specify the object expression to be joined in this query.
This allows the query results to be filtered based on the join to the object.
The object should define an on clause that defines the join condition.
This allows for two non-related objects to be joined.
<p>Example: (select all employees that are a team leader)</p>
<pre>
ExpressionBuilder project = new ExpressionBuilder(Project.class);
ExpressionBuilder employee = new ExpressionBuilder(Employee.class);
ReadAllQuery query = new ReadAllQuery(Employee.class, employee);
query.addJoin(project.on(project.get("teamLeader").equal(employee)))
</pre></div>
</li>
</ul>
<a name="addPartialAttribute-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPartialAttribute</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;void&nbsp;addPartialAttribute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since EclipseLink 2.1, partial attributes replaced by fetch groups.</span></div>
<div class="block">PUBLIC:
Specify that only a subset of the class' attributes be selected in this query.
<p>
This allows for the query to be optimized through selecting less data.
<p>
Partial objects will be returned from the query, where the unspecified attributes will be left <code>null</code>.
The primary key will always be selected to allow re-querying of the whole object.
<p>Note: Because the object is not fully initialized it cannot be cached, and cannot be edited.
<p>Note: You cannot have 2 partial attributes of the same type. You also cannot
add a partial attribute which is of the same type as the class being queried.
<p><b>Example</b>: query.addPartialAttribute("firstName")</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addPartialAttribute-org.eclipse.persistence.expressions.Expression-"><code>addPartialAttribute(Expression)</code></a>,
<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries"><code>Example:
FetchGroup fetchGroup = new FetchGroup();
fetchGroup.addAttribute("address.city");
query.setFetchGroup(fetchGroup);</code></a></dd>
</dl>
</li>
</ul>
<a name="addSelectionFieldsForJoinedExpression-java.util.List-boolean-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSelectionFieldsForJoinedExpression</h4>
<pre>protected&nbsp;void&nbsp;addSelectionFieldsForJoinedExpression(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;fields,
boolean&nbsp;isCustomSQL,
<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;expression)</pre>
<div class="block">INTERNAL:
The method adds to the passed input vector the
fields or expressions corresponding to the passed join expression.</div>
</li>
</ul>
<a name="setAsOfClause-org.eclipse.persistence.history.AsOfClause-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAsOfClause</h4>
<pre>public&nbsp;void&nbsp;setAsOfClause(<a href="../../../../org/eclipse/persistence/history/AsOfClause.html" title="class in org.eclipse.persistence.history">AsOfClause</a>&nbsp;pastTime)</pre>
<div class="block">ADVANCED: Sets the query to execute as of the past time.
Both the query execution and result will conform to the database as it
existed in the past.
<p>
Equivalent to query.getSelectionCriteria().asOf(pastTime) called
immediately before query execution.
<p>An as of clause at the query level will override any clauses set at the
expression level. Useful in cases where the selection criteria is not known in
advance, such as for query by example or primary key (selection object), or
where you do not need to cache the result (report query).
<p>Ideally an as of clause at the session level is superior as query
results can then be cached. You must set
<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setShouldMaintainCache-boolean-"><code>setShouldMaintainCache(false)</code></a>
<p>To query all joined/batched attributes as of the same time set
this.<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#cascadeAllParts--"><code>cascadeAllParts()</code></a>.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></code> - (at execution time) unless
<code>setShouldMaintainCache(false)</code> is set. If some more recent
data were in the cache, this would be returned instead, and both the
cache and query result would become inconsistent.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasAsOfClause--"><code>hasAsOfClause()</code></a>,
<a href="../../../../org/eclipse/persistence/sessions/Session.html#acquireHistoricalSession-org.eclipse.persistence.history.AsOfClause-"><code>Session.acquireHistoricalSession(org.eclipse.persistence.history.AsOfClause)</code></a>,
<a href="../../../../org/eclipse/persistence/expressions/Expression.html#asOf-org.eclipse.persistence.history.AsOfClause-"><code>Expression.asOf(org.eclipse.persistence.history.AsOfClause)</code></a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>OracleAS TopLink 10<i>g</i> (10.0.3)</dd>
</dl>
</li>
</ul>
<a name="addPartialAttribute-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPartialAttribute</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;void&nbsp;addPartialAttribute(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;attributeExpression)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since EclipseLink 2.1, partial attributes replaced by fetch groups.</span></div>
<div class="block">PUBLIC:
Specify that only a subset of the class' attributes be selected in this query.
<p>This allows for the query to be optimized through selecting less data.
<p>Partial objects will be returned from the query, where the unspecified attributes will be left <code>null</code>.
The primary key will always be selected to allow re-querying of the whole object.
<p>Note: Because the object is not fully initialized it cannot be cached, and cannot be edited.
<p>Note: You cannot have 2 partial attributes of the same type. You also cannot
add a partial attribute which is of the same type as the class being queried.
<p><b>Example</b>: query.addPartialAttribute(query.getExpressionBuilder().get("address").get("city"))</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries"><code>Example:
FetchGroup fetchGroup = new FetchGroup();
fetchGroup.addAttribute("address.city");
query.setFetchGroup(fetchGroup);</code></a></dd>
</dl>
</li>
</ul>
<a name="buildObject-org.eclipse.persistence.internal.sessions.AbstractRecord-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildObject</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;buildObject(org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;row)</pre>
<div class="block">INTERNAL:
Used to build the object, and register it if in the context of a unit of work.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#buildObject-org.eclipse.persistence.internal.sessions.AbstractRecord-">buildObject</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html" title="class in org.eclipse.persistence.queries">ReadQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="checkCacheOnly--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkCacheOnly</h4>
<pre>public&nbsp;void&nbsp;checkCacheOnly()</pre>
<div class="block">PUBLIC:
The cache will checked completely, if the object is not found null will be returned or an error if the query is too complex.
Queries can be configured to use the cache at several levels.
Other caching option are available.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setCacheUsage-int-"><code>setCacheUsage(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="checkDescriptor-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkDescriptor</h4>
<pre>public&nbsp;void&nbsp;checkDescriptor(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)
throws <a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></pre>
<div class="block">INTERNAL:
Ensure that the descriptor has been set.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#checkDescriptor-org.eclipse.persistence.internal.sessions.AbstractSession-">checkDescriptor</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - Current session.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></code></dd>
</dl>
</li>
</ul>
<a name="checkEarlyReturnLocal-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkEarlyReturnLocal</h4>
<pre>protected abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;checkEarlyReturnLocal(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</pre>
<div class="block">INTERNAL:
Contains the body of the check early return call, implemented by subclasses.</div>
</li>
</ul>
<a name="checkEarlyReturn-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkEarlyReturn</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;checkEarlyReturn(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)</pre>
<div class="block">INTERNAL:
Check to see if this query already knows the return value without performing any further work.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#checkEarlyReturn-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">checkEarlyReturn</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="checkPrepare-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkPrepare</h4>
<pre>public&nbsp;void&nbsp;checkPrepare(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow,
boolean&nbsp;force)</pre>
<div class="block">INTERNAL:
Check to see if this query needs to be prepare and prepare it.
The prepare is done on the original query to ensure that the work is not repeated.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#checkPrepare-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-boolean-">checkPrepare</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="checkPrePrepare-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkPrePrepare</h4>
<pre>public&nbsp;void&nbsp;checkPrePrepare(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</pre>
<div class="block">INTERNAL:
ObjectLevelReadQueries now have an explicit pre-prepare stage, which
is for checking for pessimistic locking, and computing any joined
attributes declared on the descriptor.</div>
</li>
</ul>
<a name="changeDescriptor-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>changeDescriptor</h4>
<pre>public&nbsp;void&nbsp;changeDescriptor(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;theSession)</pre>
<div class="block">INTERNAL:
The reference class has been changed, need to reset the
descriptor. Null out the current descriptor and call
checkDescriptor
Added Feb 27, 2001 JED for EJBQL feature</div>
</li>
</ul>
<a name="conformIndividualResult-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.expressions.Expression-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>conformIndividualResult</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;conformIndividualResult(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone,
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;unitOfWork,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;arguments,
<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;selectionCriteriaClone,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&nbsp;alreadyReturned)</pre>
<div class="block">INTERNAL:
Conforms and registers an individual result. This instance could be one
of the elements returned from a read all query, the result of a Read Object
query, or an element read from a cursor.
<p>
A result needs to be registered before it can be conformed, so
registerIndividualResult is called here.
<p>
Conforming on a result from the database is lenient. Since the object
matched the query on the database we assume it matches here unless we can
determine for sure that it was changed in this UnitOfWork not to conform.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clone</code> - the clone to return</dd>
<dd><code>arguments</code> - the parameters this query was executed with</dd>
<dd><code>selectionCriteriaClone</code> - the expression to conform to. If was a
selection object or key, null (which all conform to) is used</dd>
<dd><code>alreadyReturned</code> - a hashtable of objects already found by scanning
the UnitOfWork cache for conforming instances. Prevents duplicates.</dd>
<dd><code>unitOfWork</code> - current UnitOfWork</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a clone, or null if result does not conform.</dd>
</dl>
</li>
</ul>
<a name="conformResultsInUnitOfWork--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>conformResultsInUnitOfWork</h4>
<pre>public&nbsp;void&nbsp;conformResultsInUnitOfWork()</pre>
<div class="block">PUBLIC:
The cache will checked completely, if the object is not found the database will be queried,
and the database result will be verified with what is in the cache and/or unit of work including new objects.
This can lead to poor performance so it is recommended that only the database be queried in most cases.
Queries can be configured to use the cache at several levels.
Other caching option are available.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setCacheUsage-int-"><code>setCacheUsage(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="dontAcquireLocks--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dontAcquireLocks</h4>
<pre>public&nbsp;void&nbsp;dontAcquireLocks()</pre>
<div class="block">PUBLIC:
Set the query not to lock.</div>
</li>
</ul>
<a name="dontCheckCache--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dontCheckCache</h4>
<pre>public&nbsp;void&nbsp;dontCheckCache()</pre>
<div class="block">PUBLIC:
This can be used to explicitly disable the cache hit.
The cache hit may not be desired in some cases, such as
stored procedures that accept the primary key but do not query on it.</div>
</li>
</ul>
<a name="dontRefreshIdentityMapResult--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dontRefreshIdentityMapResult</h4>
<pre>public&nbsp;void&nbsp;dontRefreshIdentityMapResult()</pre>
<div class="block">PUBLIC:
When unset means perform read normally and dont do refresh.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#dontRefreshIdentityMapResult--">dontRefreshIdentityMapResult</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="dontRefreshRemoteIdentityMapResult--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dontRefreshRemoteIdentityMapResult</h4>
<pre>public&nbsp;void&nbsp;dontRefreshRemoteIdentityMapResult()</pre>
<div class="block">PUBLIC:
When unset means perform read normally and dont do refresh.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#dontRefreshRemoteIdentityMapResult--">dontRefreshRemoteIdentityMapResult</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="dontUseDistinct--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dontUseDistinct</h4>
<pre>public&nbsp;void&nbsp;dontUseDistinct()</pre>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.
This is used internally by EclipseLink for batch reading but may also be
used directly for advanced queries or report queries.</div>
</li>
</ul>
<a name="prepareOutsideUnitOfWork-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareOutsideUnitOfWork</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;prepareOutsideUnitOfWork(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</pre>
<div class="block">INTERNAL:
There is a very special case where a query may be a bean-level
pessimistic locking query.
<p>
If that is so, only queries executed inside of a UnitOfWork should
have a locking clause. In the extremely rare case that we execute
a locking query outside of a UnitOfWork, must disable locking so that
we do not get a fetch out of sequence error.</div>
</li>
</ul>
<a name="execute-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;execute(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)
throws <a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a>,
<a href="../../../../org/eclipse/persistence/exceptions/OptimisticLockException.html" title="class in org.eclipse.persistence.exceptions">OptimisticLockException</a></pre>
<div class="block">INTERNAL:
Execute the query. If there are objects in the cache return the results
of the cache lookup.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#execute-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.internal.sessions.AbstractRecord-">execute</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - - the session in which the receiver will be executed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An object, the result of executing the query.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></code> - - an error has occurred on the database.</dd>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/OptimisticLockException.html" title="class in org.eclipse.persistence.exceptions">OptimisticLockException</a></code> - - an error has occurred using the optimistic lock feature.</dd>
</dl>
</li>
</ul>
<a name="executeDatabaseQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeDatabaseQuery</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;executeDatabaseQuery()
throws <a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">INTERNAL:
Executes the prepared query on the datastore.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#executeDatabaseQuery--">executeDatabaseQuery</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>- the result of executing the query.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></code> - - an error has occurred on the database.</dd>
</dl>
</li>
</ul>
<a name="executeObjectLevelReadQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeObjectLevelReadQuery</h4>
<pre>protected abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;executeObjectLevelReadQuery()
throws <a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Executes the prepared query on the datastore.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></code></dd>
</dl>
</li>
</ul>
<a name="executeObjectLevelReadQueryFromResultSet--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeObjectLevelReadQueryFromResultSet</h4>
<pre>protected abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;executeObjectLevelReadQueryFromResultSet()
throws <a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Executes the prepared query on the datastore.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></code></dd>
</dl>
</li>
</ul>
<a name="executeInUnitOfWork-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.sessions.AbstractRecord-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeInUnitOfWork</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;executeInUnitOfWork(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;unitOfWork,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow)
throws <a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a>,
<a href="../../../../org/eclipse/persistence/exceptions/OptimisticLockException.html" title="class in org.eclipse.persistence.exceptions">OptimisticLockException</a></pre>
<div class="block">INTERNAL:
Execute the query in the unit of work.
This allows any pre-execute checks to be done for unit of work queries.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#executeInUnitOfWork-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.sessions.AbstractRecord-">executeInUnitOfWork</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>unitOfWork</code> - - the session in which the receiver will be executed.</dd>
<dd><code>translationRow</code> - - the arguments</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An object, the result of executing the query.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></code> - - an error has occurred on the database.</dd>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/OptimisticLockException.html" title="class in org.eclipse.persistence.exceptions">OptimisticLockException</a></code> - - an error has occurred using the optimistic lock feature.</dd>
</dl>
</li>
</ul>
<a name="getAdditionalFields--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAdditionalFields</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;getAdditionalFields()</pre>
<div class="block">INTERNAL:
Additional fields can be added to a query. This is used in m-m batch reading to bring back the key from the join table.</div>
</li>
</ul>
<a name="getAsOfClause--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAsOfClause</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/history/AsOfClause.html" title="class in org.eclipse.persistence.history">AsOfClause</a>&nbsp;getAsOfClause()</pre>
<div class="block">ADVANCED:
Answers the past time this query is as of.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An immutable object representation of the past time.
<code>null</code> if no clause set, <code>AsOfClause.NO_CLAUSE</code> if
clause explicitly set to <code>null</code>.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/history/AsOfClause.html" title="class in org.eclipse.persistence.history"><code>AsOfClause</code></a>,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setAsOfClause-org.eclipse.persistence.history.AsOfClause-"><code>setAsOfClause(org.eclipse.persistence.history.AsOfClause)</code></a>,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#hasAsOfClause--"><code>hasAsOfClause()</code></a></dd>
</dl>
</li>
</ul>
<a name="getCacheUsage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheUsage</h4>
<pre>public&nbsp;int&nbsp;getCacheUsage()</pre>
<div class="block">PUBLIC:
Return the cache usage.
By default only primary key read object queries will first check the cache before accessing the database.
Any query can be configure to query against the cache completely, by key or ignore the cache check.
<p>Valid values are:
<ul>
<li> DoNotCheckCache
<li> CheckCacheByExactPrimaryKey
<li> CheckCacheByPrimaryKey
<li> CheckCacheThenDatabase
<li> CheckCacheOnly
<li> ConformResultsInUnitOfWork
<li> UseDescriptorSetting
Note: UseDescriptorSetting functions like CheckCacheByPrimaryKey, except checks the appropriate descriptor's
shouldDisableCacheHits setting when querying on the cache.
</ul></div>
</li>
</ul>
<a name="getDistinctState--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDistinctState</h4>
<pre>public&nbsp;short&nbsp;getDistinctState()</pre>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.
This is used internally by EclipseLink for batch reading but may also be
used directly for advanced queries or report queries.</div>
</li>
</ul>
<a name="getExampleObject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExampleObject</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getExampleObject()</pre>
<div class="block">PUBLIC:
This method returns the current example object. The "example" object is an actual domain object, provided
by the client, from which an expression is generated.
This expression is used for a query of all objects from the same class, that match the attribute values of
the "example" object.</div>
</li>
</ul>
<a name="getExpressionBuilder--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExpressionBuilder</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/expressions/ExpressionBuilder.html" title="class in org.eclipse.persistence.expressions">ExpressionBuilder</a>&nbsp;getExpressionBuilder()</pre>
<div class="block">REQUIRED:
Get the expression builder which should be used for this query.
This expression builder should be used to build all expressions used by this query.</div>
</li>
</ul>
<a name="setExpressionBuilder-org.eclipse.persistence.expressions.ExpressionBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExpressionBuilder</h4>
<pre>public&nbsp;void&nbsp;setExpressionBuilder(<a href="../../../../org/eclipse/persistence/expressions/ExpressionBuilder.html" title="class in org.eclipse.persistence.expressions">ExpressionBuilder</a>&nbsp;builder)</pre>
<div class="block">INTERNAL
Sets the default expression builder for this query.</div>
</li>
</ul>
<a name="getInMemoryQueryIndirectionPolicyState--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInMemoryQueryIndirectionPolicyState</h4>
<pre>public&nbsp;int&nbsp;getInMemoryQueryIndirectionPolicyState()</pre>
<div class="block">PUBLIC:
Returns the InMemoryQueryIndirectionPolicy for this query</div>
</li>
</ul>
<a name="getInMemoryQueryIndirectionPolicy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInMemoryQueryIndirectionPolicy</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/InMemoryQueryIndirectionPolicy.html" title="class in org.eclipse.persistence.queries">InMemoryQueryIndirectionPolicy</a>&nbsp;getInMemoryQueryIndirectionPolicy()</pre>
<div class="block">PUBLIC:
Returns the InMemoryQueryIndirectionPolicy for this query</div>
</li>
</ul>
<a name="getJoinedAttributeManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoinedAttributeManager</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.queries.JoinedAttributeManager&nbsp;getJoinedAttributeManager()</pre>
<div class="block">INTERNAL:
Return join manager responsible for managing all aspects of joining for the query.
Queries without joining should not have a joinedAttributeManager.</div>
</li>
</ul>
<a name="setJoinedAttributeManager-org.eclipse.persistence.internal.queries.JoinedAttributeManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setJoinedAttributeManager</h4>
<pre>public&nbsp;void&nbsp;setJoinedAttributeManager(org.eclipse.persistence.internal.queries.JoinedAttributeManager&nbsp;joinedAttributeManager)</pre>
<div class="block">INTERNAL:
Set join manager responsible for managing all aspects of joining for the query.</div>
</li>
</ul>
<a name="hasJoining--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasJoining</h4>
<pre>public&nbsp;boolean&nbsp;hasJoining()</pre>
<div class="block">INTERNAL:
Return if any attributes are joined.
To avoid the initialization of the JoinedAttributeManager this should be first checked before accessing.</div>
</li>
</ul>
<a name="getJoinedAttributeExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoinedAttributeExpressions</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;getJoinedAttributeExpressions()</pre>
<div class="block">INTERNAL:
Convenience method for project mapping.</div>
</li>
</ul>
<a name="setJoinedAttributeExpressions-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setJoinedAttributeExpressions</h4>
<pre>public&nbsp;void&nbsp;setJoinedAttributeExpressions(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;expressions)</pre>
<div class="block">INTERNAL:
Convenience method for project mapping.</div>
</li>
</ul>
<a name="getOrderByExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrderByExpressions</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;getOrderByExpressions()</pre>
<div class="block">INTERNAL:
Return the order expressions for the query.</div>
</li>
</ul>
<a name="setOrderByExpressions-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOrderByExpressions</h4>
<pre>public&nbsp;void&nbsp;setOrderByExpressions(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;orderByExpressions)</pre>
<div class="block">INTERNAL:
Set the order expressions for the query.</div>
</li>
</ul>
<a name="hasOrderByExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasOrderByExpressions</h4>
<pre>public&nbsp;boolean&nbsp;hasOrderByExpressions()</pre>
<div class="block">INTERNAL:
The order bys are lazy initialized to conserve space.</div>
</li>
</ul>
<a name="hasUnionExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasUnionExpressions</h4>
<pre>public&nbsp;boolean&nbsp;hasUnionExpressions()</pre>
<div class="block">INTERNAL:
The unions are lazy initialized to conserve space.</div>
</li>
</ul>
<a name="shouldFilterDuplicates--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldFilterDuplicates</h4>
<pre>public&nbsp;boolean&nbsp;shouldFilterDuplicates()</pre>
<div class="block">PUBLIC:
Return if duplicate rows should be filter when using 1-m joining.</div>
</li>
</ul>
<a name="setShouldFilterDuplicates-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShouldFilterDuplicates</h4>
<pre>public&nbsp;void&nbsp;setShouldFilterDuplicates(boolean&nbsp;shouldFilterDuplicates)</pre>
<div class="block">PUBLIC:
Set if duplicate rows should be filter when using 1-m joining.</div>
</li>
</ul>
<a name="getLockingClause--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLockingClause</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.expressions.ForUpdateClause&nbsp;getLockingClause()</pre>
<div class="block">INTERNAL:
It is not exactly as simple as a query being either locking or not.
Any combination of the reference class object and joined attributes
may be locked.</div>
</li>
</ul>
<a name="getNonFetchJoinAttributeExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNonFetchJoinAttributeExpressions</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;getNonFetchJoinAttributeExpressions()</pre>
<div class="block">INTERNAL:
Return the attributes that must be joined, but not fetched, that is,
do not trigger the value holder.</div>
</li>
</ul>
<a name="getPartialAttributeExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPartialAttributeExpressions</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;getPartialAttributeExpressions()</pre>
<div class="block">INTERNAL:
Return the partial attributes to select.</div>
</li>
</ul>
<a name="getQueryByExamplePolicy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryByExamplePolicy</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/QueryByExamplePolicy.html" title="class in org.eclipse.persistence.queries">QueryByExamplePolicy</a>&nbsp;getQueryByExamplePolicy()</pre>
<div class="block">PUBLIC:
When using Query By Example, an instance of QueryByExamplePolicy is used to customize the query.
The policy is useful when special operations are to be used for comparisons (notEqual, lessThan,
greaterThan, like etc.), when a certain value is to be ignored, or when dealing with nulls.</div>
</li>
</ul>
<a name="getReferenceClass--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReferenceClass</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;getReferenceClass()</pre>
<div class="block">PUBLIC:
Return the reference class of the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getReferenceClass--">getReferenceClass</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="getReferenceClassName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReferenceClassName</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getReferenceClassName()</pre>
<div class="block">INTERNAL:
Return the reference class of the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getReferenceClassName--">getReferenceClassName</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="hasAsOfClause--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAsOfClause</h4>
<pre>public&nbsp;boolean&nbsp;hasAsOfClause()</pre>
<div class="block">PUBLIC:
Answers if the domain objects are to be read as of a past time.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#getAsOfClause--"><code>getAsOfClause()</code></a></dd>
</dl>
</li>
</ul>
<a name="hasNonFetchJoinedAttributeExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNonFetchJoinedAttributeExpressions</h4>
<pre>public&nbsp;boolean&nbsp;hasNonFetchJoinedAttributeExpressions()</pre>
<div class="block">INTERNAL:
Return the attributes that must be joined.</div>
</li>
</ul>
<a name="hasPartialAttributeExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasPartialAttributeExpressions</h4>
<pre>public&nbsp;boolean&nbsp;hasPartialAttributeExpressions()</pre>
<div class="block">INTERNAL:
Return if partial attributes.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#hasPartialAttributeExpressions--">hasPartialAttributeExpressions</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="hasAdditionalFields--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAdditionalFields</h4>
<pre>public&nbsp;boolean&nbsp;hasAdditionalFields()</pre>
<div class="block">INTERNAL:
Return if additional field.</div>
</li>
</ul>
<a name="getPartialAttributeSelectionFields-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPartialAttributeSelectionFields</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;getPartialAttributeSelectionFields(boolean&nbsp;isCustomSQL)</pre>
<div class="block">INTERNAL:
Return the fields required in the select clause, for patial attribute reading.</div>
</li>
</ul>
<a name="getFetchGroupNonNestedFieldsSet--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchGroupNonNestedFieldsSet</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;getFetchGroupNonNestedFieldsSet()</pre>
<div class="block">INTERNAL:
Return the set of fields required in the select clause, for fetch group reading.</div>
</li>
</ul>
<a name="getFetchGroupNonNestedFieldsSet-org.eclipse.persistence.mappings.DatabaseMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchGroupNonNestedFieldsSet</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;getFetchGroupNonNestedFieldsSet(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;nestedMapping)</pre>
<div class="block">INTERNAL:
Return the set of fields required in the select clause, for fetch group reading.</div>
</li>
</ul>
<a name="getFetchGroupSelectionFields--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchGroupSelectionFields</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;getFetchGroupSelectionFields()</pre>
<div class="block">INTERNAL:
Return the fields required in the select clause, for fetch group reading.</div>
</li>
</ul>
<a name="getFetchGroupSelectionFields-org.eclipse.persistence.mappings.DatabaseMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchGroupSelectionFields</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;getFetchGroupSelectionFields(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;nestedMapping)</pre>
<div class="block">INTERNAL:
Return the fields required in the select clause, for fetch group reading.
Top level (not nested) passes null instead of nestedMapping.</div>
</li>
</ul>
<a name="addJoinSelectionFields-java.util.Vector-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addJoinSelectionFields</h4>
<pre>public&nbsp;void&nbsp;addJoinSelectionFields(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;fields,
boolean&nbsp;isCustomSQL)</pre>
<div class="block">INTERNAL:
The method adds to the passed input vector the
fields or expressions corresponding to the joins.</div>
</li>
</ul>
<a name="getSelectionFields--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelectionFields</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;getSelectionFields()</pre>
<div class="block">INTERNAL:
Return the fields selected by the query.
This includes the partial or joined fields.
This is only used for custom SQL executions.</div>
</li>
</ul>
<a name="getWaitTimeout--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWaitTimeout</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;getWaitTimeout()</pre>
<div class="block">PUBLIC:
Return the WAIT timeout value of pessimistic locking query.</div>
</li>
</ul>
<a name="getWaitTimeoutUnit--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWaitTimeoutUnit</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;getWaitTimeoutUnit()</pre>
</li>
</ul>
<a name="initializeDefaultBuilder--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeDefaultBuilder</h4>
<pre>protected&nbsp;void&nbsp;initializeDefaultBuilder()</pre>
<div class="block">Initialize the expression builder which should be used for this query. If
there is a where clause, use its expression builder, otherwise
generate one and cache it. This helps avoid unnecessary rebuilds.</div>
</li>
</ul>
<a name="isDistinctComputed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDistinctComputed</h4>
<pre>public&nbsp;boolean&nbsp;isDistinctComputed()</pre>
<div class="block">INTERNAL:
return true if this query has computed its distinct value already</div>
</li>
</ul>
<a name="isLockQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLockQuery</h4>
<pre>public&nbsp;boolean&nbsp;isLockQuery()</pre>
<div class="block">PUBLIC:
Answers if the query lock mode is known to be LOCK or LOCK_NOWAIT.
In the case of DEFAULT_LOCK_MODE and the query reference class being a CMP entity bean,
at execution time LOCK, LOCK_NOWAIT, or NO_LOCK will be decided.
<p>
If a single joined attribute was configured for pessimistic locking then
this will return true (after first execution) as the SQL contained a
FOR UPDATE OF clause.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#isLockQuery--">isLockQuery</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="isLockQuery-org.eclipse.persistence.sessions.Session-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLockQuery</h4>
<pre>public&nbsp;boolean&nbsp;isLockQuery(<a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;session)</pre>
<div class="block">ADVANCED:
Answers if this query will issue any pessimistic locks.
<p>
If the lock mode is not known (DEFAULT_LOCK_MODE / descriptor specified
fine-grained locking) the lock mode will be determined now, to be either
LOCK, LOCK_NOWAIT, or NO_LOCK.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#isLockQuery--"><code>isLockQuery()</code></a></dd>
</dl>
</li>
</ul>
<a name="isObjectLevelReadQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isObjectLevelReadQuery</h4>
<pre>public&nbsp;boolean&nbsp;isObjectLevelReadQuery()</pre>
<div class="block">PUBLIC:
Return if this is an object level read query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#isObjectLevelReadQuery--">isObjectLevelReadQuery</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="isPartialAttribute-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPartialAttribute</h4>
<pre>public&nbsp;boolean&nbsp;isPartialAttribute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</pre>
<div class="block">INTERNAL:
Return if partial attribute.</div>
</li>
</ul>
<a name="shouldExtendPessimisticLockScope--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldExtendPessimisticLockScope</h4>
<pre>public&nbsp;boolean&nbsp;shouldExtendPessimisticLockScope()</pre>
<div class="block">INTERNAL:
Indicates whether pessimistic lock should also be applied to relation tables (ManyToMany and OneToOne mappings),
reference tables (DirectCollection and AggregateCollection mapping).</div>
</li>
</ul>
<a name="isPrePrepared--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPrePrepared</h4>
<pre>protected&nbsp;boolean&nbsp;isPrePrepared()</pre>
<div class="block">PUBLIC:
Queries prepare common stated in themselves.</div>
</li>
</ul>
<a name="setIsPrePrepared-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIsPrePrepared</h4>
<pre>public&nbsp;void&nbsp;setIsPrePrepared(boolean&nbsp;isPrePrepared)</pre>
<div class="block">INTERNAL:
If changes are made to the query that affect the derived SQL or Call
parameters the query needs to be prepared again.
<p>
Automatically called internally.
<p>
The early phase of preparation is to check if this is a pessimistic
locking query.</div>
</li>
</ul>
<a name="setShouldExtendPessimisticLockScope-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShouldExtendPessimisticLockScope</h4>
<pre>public&nbsp;void&nbsp;setShouldExtendPessimisticLockScope(boolean&nbsp;isExtended)</pre>
<div class="block">INTERNAL:
Indicates whether pessimistic lock should also be applied to relation tables (ManyToMany and OneToOne mappings),
reference tables (DirectCollection and AggregateCollection mapping).</div>
</li>
</ul>
<a name="setIsPrepared-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIsPrepared</h4>
<pre>public&nbsp;void&nbsp;setIsPrepared(boolean&nbsp;isPrepared)</pre>
<div class="block">INTERNAL:
Clear cached flags when un-preparing.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setIsPrepared-boolean-">setIsPrepared</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setIsPreparedKeepingSubclassData-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIsPreparedKeepingSubclassData</h4>
<pre>protected&nbsp;void&nbsp;setIsPreparedKeepingSubclassData(boolean&nbsp;isPrepared)</pre>
<div class="block">INTERNAL:
Clear cached flags when un-preparing.
The method always keeps concrete subclass data (unlike setIsPrepared(false)).</div>
</li>
</ul>
<a name="prepare--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepare</h4>
<pre>protected&nbsp;void&nbsp;prepare()
throws <a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></pre>
<div class="block">INTERNAL:
Prepare the receiver for execution in a session.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#prepare--">prepare</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html" title="class in org.eclipse.persistence.queries">ReadQuery</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></code></dd>
</dl>
</li>
</ul>
<a name="prepareFromCachedQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareFromCachedQuery</h4>
<pre>protected&nbsp;boolean&nbsp;prepareFromCachedQuery()</pre>
<div class="block">INTERNAL:
Check if the query is cached and prepare from it.
Return true if the query was cached.</div>
</li>
</ul>
<a name="copyFromQuery-org.eclipse.persistence.queries.DatabaseQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyFromQuery</h4>
<pre>public&nbsp;void&nbsp;copyFromQuery(<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query)</pre>
<div class="block">INTERNAL:
Copy all setting from the query.
This is used to morph queries from one type to the other.
By default this calls prepareFromQuery, but additional properties may be required
to be copied as prepareFromQuery only copies properties that affect the SQL.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#copyFromQuery-org.eclipse.persistence.queries.DatabaseQuery-">copyFromQuery</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="prepareFromQuery-org.eclipse.persistence.queries.DatabaseQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareFromQuery</h4>
<pre>public&nbsp;void&nbsp;prepareFromQuery(<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query)</pre>
<div class="block">INTERNAL:
Prepare the query from the prepared query.
This allows a dynamic query to prepare itself directly from a prepared query instance.
This is used in the EJBQL parse cache to allow preparsed queries to be used to prepare
dynamic queries.
This only copies over properties that are configured through EJBQL.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#prepareFromQuery-org.eclipse.persistence.queries.DatabaseQuery-">prepareFromQuery</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="prepareFetchGroup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareFetchGroup</h4>
<pre>public&nbsp;void&nbsp;prepareFetchGroup()
throws <a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></pre>
<div class="block">INTERNAL:
Add mandatory attributes to fetch group, create entityFetchGroup.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></code></dd>
</dl>
</li>
</ul>
<a name="prePrepare--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prePrepare</h4>
<pre>protected&nbsp;void&nbsp;prePrepare()
throws <a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></pre>
<div class="block">INTERNAL:
Prepare the receiver for execution in a session.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></code></dd>
</dl>
</li>
</ul>
<a name="prepareQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareQuery</h4>
<pre>protected&nbsp;void&nbsp;prepareQuery()
throws <a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></pre>
<div class="block">INTERNAL:
Prepare the receiver for execution in a session.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></code></dd>
</dl>
</li>
</ul>
<a name="prepareForRemoteExecution--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareForRemoteExecution</h4>
<pre>protected&nbsp;void&nbsp;prepareForRemoteExecution()
throws <a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></pre>
<div class="block">INTERNAL:
Prepare the receiver for execution in a session.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#prepareForRemoteExecution--">prepareForRemoteExecution</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></code></dd>
</dl>
</li>
</ul>
<a name="refreshIdentityMapResult--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshIdentityMapResult</h4>
<pre>public&nbsp;void&nbsp;refreshIdentityMapResult()</pre>
<div class="block">PUBLIC:
Refresh the attributes of the object(s) resulting from the query.
If cascading is used the private parts of the objects will also be refreshed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#refreshIdentityMapResult--">refreshIdentityMapResult</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="refreshRemoteIdentityMapResult--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshRemoteIdentityMapResult</h4>
<pre>public&nbsp;void&nbsp;refreshRemoteIdentityMapResult()</pre>
<div class="block">PUBLIC:
Refresh the attributes of the object(s) resulting from the query.
If cascading is used the private parts of the objects will also be refreshed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#refreshRemoteIdentityMapResult--">refreshRemoteIdentityMapResult</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="registerResultInUnitOfWork-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-org.eclipse.persistence.internal.sessions.AbstractRecord-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerResultInUnitOfWork</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;registerResultInUnitOfWork(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;result,
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;unitOfWork,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;arguments,
boolean&nbsp;buildDirectlyFromRows)</pre>
<div class="block">INTERNAL:
All objects queried via a UnitOfWork get registered here. If the query
went to the database.
<p>
Involves registering the query result individually and in totality, and
hence refreshing / conforming is done here.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>result</code> - may be collection (read all) or an object (read one),
or even a cursor. If in transaction the shared cache will
be bypassed, meaning the result may not be originals from the parent
but raw database rows.</dd>
<dd><code>unitOfWork</code> - the unitOfWork the result is being registered in.</dd>
<dd><code>arguments</code> - the original arguments/parameters passed to the query
execution. Used by conforming</dd>
<dd><code>buildDirectlyFromRows</code> - If in transaction must construct
a registered result from raw database rows.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the final (conformed, refreshed, wrapped) UnitOfWork query result</dd>
</dl>
</li>
</ul>
<a name="resetDistinct--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetDistinct</h4>
<pre>public&nbsp;void&nbsp;resetDistinct()</pre>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.
This is used internally by TopLink for batch reading but may also be
used directly for advanced queries or report queries.</div>
</li>
</ul>
<a name="setAdditionalFields-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAdditionalFields</h4>
<pre>public&nbsp;void&nbsp;setAdditionalFields(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;additionalFields)</pre>
<div class="block">INTERNAL:
Additional fields can be added to a query. This is used in m-m batch reading to bring back the key from the join table.</div>
</li>
</ul>
<a name="shouldCheckCache--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldCheckCache</h4>
<pre>public&nbsp;boolean&nbsp;shouldCheckCache()</pre>
<div class="block">PUBLIC:
Return if the cache should be checked.</div>
</li>
</ul>
<a name="setCacheUsage-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCacheUsage</h4>
<pre>public&nbsp;void&nbsp;setCacheUsage(int&nbsp;cacheUsage)</pre>
<div class="block">PUBLIC:
Set the cache usage.
By default only primary key read object queries will first check the cache before accessing the database.
Any query can be configure to query against the cache completely, by key or ignore the cache check.
<p>Valid values are:
<ul>
<li> DoNotCheckCache - The query does not check the cache but accesses the database, the cache will still be maintain.
<li> CheckCacheByExactPrimaryKey - If the query is exactly and only on the object's primary key the cache will be checked.
<li> CheckCacheByPrimaryKey - If the query contains the primary key and possible other values the cache will be checked.
<li> CheckCacheThenDatabase - The whole cache will be checked to see if there is any object matching the query, if not the database will be accessed.
<li> CheckCacheOnly - The whole cache will be checked to see if there is any object matching the query, if not null or an empty collection is returned.
<li> ConformResultsAgainstUnitOfWork - The results will be checked against the changes within the unit of work and object no longer matching or deleted will be remove, matching new objects will also be added.
<li> shouldCheckDescriptorForCacheUsage - This setting functions like CheckCacheByPrimaryKey, except checks the appropriate descriptor's
shouldDisableCacheHits setting when querying on the cache.
</ul></div>
</li>
</ul>
<a name="setDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDescriptor</h4>
<pre>public&nbsp;void&nbsp;setDescriptor(<a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</pre>
<div class="block">INTERNAL:
Set the descriptor for the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-">setDescriptor</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setDistinctState-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDistinctState</h4>
<pre>public&nbsp;void&nbsp;setDistinctState(short&nbsp;distinctState)</pre>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.
This is used internally by TopLink for batch reading but may also be
used directly for advanced queries or report queries.</div>
</li>
</ul>
<a name="setExampleObject-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExampleObject</h4>
<pre>public&nbsp;void&nbsp;setExampleObject(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;newExampleObject)</pre>
<div class="block">PUBLIC:
Set the example object of the query to be the newExampleObject.
The example object is used for Query By Example.
When doing a Query By Example, an instance of the desired object is created, and the fields are filled with
the values that are required in the result set. From these values the corresponding expression is built
by EclipseLink, and the query is executed, returning the set of results.
<p>If a query already has a selection criteria this criteria and the generated
query by example criteria will be conjuncted.
<p>Once a query is executed you must make an explicit call to setExampleObject
if the example object is changed, so the query will know to prepare itself again.
<p>There is a caution to setting both a selection criteria and an example object:
Only in this case if you set the example object again after execution you must then also reset the selection criteria.
(This is because after execution the original criteria and Query By Example criteria were fused together,
and the former cannot be easily recovered from the now invalid result).
<p>
<b>Restrictions</b>:
<ul>
<li>Only attributes whose mappings are DirectToField, Aggregate (Embeddable), ObjectReference
(OneToOne) or Collection type OneToMany/ManyToMany are considered in a Query By Example object. The behaviour when an example object has attribute values for other mappings types is <b>undefined</b>.
<ul><li>To ensure the example does not include any unsupported mappings the flag <a href="../../../../org/eclipse/persistence/queries/QueryByExamplePolicy.html#setValidateExample-boolean-"><code>QueryByExamplePolicy.setValidateExample(boolean)</code></a>
should be set to true on the corresponding QueryByExamplePolicy to ensure no unsupported relationship types are used in the example.</li>
<li> For OneToMany and ManyToMany mappings the elements within the collections and the references attribute values will be added to the expression as disjuncts (OR)</li>
</ul></li>
</ul></div>
</li>
</ul>
<a name="setInMemoryQueryIndirectionPolicy-org.eclipse.persistence.queries.InMemoryQueryIndirectionPolicy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInMemoryQueryIndirectionPolicy</h4>
<pre>public&nbsp;void&nbsp;setInMemoryQueryIndirectionPolicy(<a href="../../../../org/eclipse/persistence/queries/InMemoryQueryIndirectionPolicy.html" title="class in org.eclipse.persistence.queries">InMemoryQueryIndirectionPolicy</a>&nbsp;inMemoryQueryIndirectionPolicy)</pre>
<div class="block">PUBLIC:
Set the InMemoryQueryIndirectionPolicy for this query.</div>
</li>
</ul>
<a name="setInMemoryQueryIndirectionPolicyState-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInMemoryQueryIndirectionPolicyState</h4>
<pre>public&nbsp;void&nbsp;setInMemoryQueryIndirectionPolicyState(int&nbsp;inMemoryQueryIndirectionPolicy)</pre>
<div class="block">PUBLIC:
Set the InMemoryQueryIndirectionPolicy for this query.</div>
</li>
</ul>
<a name="setLockMode-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLockMode</h4>
<pre>public&nbsp;void&nbsp;setLockMode(short&nbsp;lockMode)</pre>
<div class="block">PUBLIC:
Sets whether this is a pessimistically locking query.
<ul>
<li>ObjectBuildingQuery.LOCK: SELECT .... FOR UPDATE issued.
<li>ObjectBuildingQuery.LOCK_NOWAIT: SELECT .... FOR UPDATE NO WAIT issued.
<li>ObjectBuildingQuery.NO_LOCK: no pessimistic locking.
<li>ObjectBuildingQuery.DEFAULT_LOCK_MODE (default) and you have a CMP descriptor:
fine grained locking will occur.
</ul>
<p>Fine Grained Locking: On execution the reference class
and those of all joined attributes will be checked. If any of these have a
PessimisticLockingPolicy set on their descriptor, they will be locked in a
SELECT ... FOR UPDATE OF ... {NO WAIT}. Issues fewer locks
and avoids setting the lock mode on each query.
<p>Example:<code>readAllQuery.setSelectionCriteria(employee.get("address").equal("Ottawa"));</code>
<ul><li>LOCK: all employees in Ottawa and all referenced Ottawa addresses will be locked.
<li>DEFAULT_LOCK_MODE: if address is a joined attribute, and only address has a pessimistic
locking policy, only referenced Ottawa addresses will be locked.
</ul></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setLockMode-short-">setLockMode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/descriptors/PessimisticLockingPolicy.html" title="class in org.eclipse.persistence.descriptors"><code>PessimisticLockingPolicy</code></a></dd>
</dl>
</li>
</ul>
<a name="getLockModeType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLockModeType</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getLockModeType()</pre>
<div class="block">INTERNAL:
returns the jakarta.persistence.LockModeType string value set on this query.</div>
</li>
</ul>
<a name="setLockModeType-java.lang.String-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLockModeType</h4>
<pre>public&nbsp;boolean&nbsp;setLockModeType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;lockModeType,
org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</pre>
<div class="block">INTERNAL:
Sets a jakarta.persistence.LockModeType to used with this queries execution.
The valid types are:
- WRITE
- READ
- OPTIMISTIC
- OPTIMISTIC_FORCE_INCREMENT
- PESSIMISTIC_READ
- PESSIMISTIC_WRITE
- PESSIMISTIC_FORCE_INCREMENT
- NONE
Setting a null type will do nothing.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>returns a failure flag indicating that we were UNABLE to set the
lock mode because of validation. Callers to this method should check the
return value and throw the necessary exception.</dd>
</dl>
</li>
</ul>
<a name="setNonFetchJoinAttributeExpressions-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNonFetchJoinAttributeExpressions</h4>
<pre>public&nbsp;void&nbsp;setNonFetchJoinAttributeExpressions(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;nonFetchJoinExpressions)</pre>
<div class="block">INTERNAL:
Return the attributes that must be joined, but not fetched, that is,
do not trigger the value holder.</div>
</li>
</ul>
<a name="setLockingClause-org.eclipse.persistence.internal.expressions.ForUpdateClause-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLockingClause</h4>
<pre>public&nbsp;void&nbsp;setLockingClause(org.eclipse.persistence.internal.expressions.ForUpdateClause&nbsp;clause)</pre>
<div class="block">INTERNAL:
The locking clause contains a list of expressions representing which
objects are to be locked by the query.
<p>
Use for even finer grained control over what is and is not locked by
a particular query.</div>
</li>
</ul>
<a name="setPartialAttributeExpressions-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPartialAttributeExpressions</h4>
<pre>public&nbsp;void&nbsp;setPartialAttributeExpressions(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;partialAttributeExpressions)</pre>
<div class="block">INTERNAL:
Set the partial attributes to select.</div>
</li>
</ul>
<a name="setEJBQLString-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEJBQLString</h4>
<pre>public&nbsp;void&nbsp;setEJBQLString(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ejbqlString)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setEJBQLString-java.lang.String-">DatabaseQuery</a></code></span></div>
<div class="block">PUBLIC: Set the EJBQL string of the query. If arguments are required in
the string they will be preceded by "?" then the argument number.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setEJBQLString-java.lang.String-">setEJBQLString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setQueryByExamplePolicy-org.eclipse.persistence.queries.QueryByExamplePolicy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQueryByExamplePolicy</h4>
<pre>public&nbsp;void&nbsp;setQueryByExamplePolicy(<a href="../../../../org/eclipse/persistence/queries/QueryByExamplePolicy.html" title="class in org.eclipse.persistence.queries">QueryByExamplePolicy</a>&nbsp;queryByExamplePolicy)</pre>
<div class="block">PUBLIC:
The QueryByExamplePolicy, is a useful to customize the query when Query By Example is used.
The policy will control what attributes should, or should not be included in the query.
When dealing with nulls, using special operations (notEqual, lessThan, like, etc.)
for comparison, or choosing to include certain attributes at all times, it is useful to modify
the policy accordingly.
<p>Once a query is executed you must make an explicit call to setQueryByExamplePolicy
when changing the policy, so the query will know to prepare itself again.
<p>There is a caution to setting both a selection criteria and an example object:
If you set the policy after execution you must also reset the selection criteria.
(This is because after execution the original criteria and Query By Example criteria are fused together,
and the former cannot be easily recovered).</div>
</li>
</ul>
<a name="setReferenceClass-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReferenceClass</h4>
<pre>public&nbsp;void&nbsp;setReferenceClass(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;aClass)</pre>
<div class="block">REQUIRED:
Set the reference class for the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setReferenceClass-java.lang.Class-">setReferenceClass</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setReferenceClassName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReferenceClassName</h4>
<pre>public&nbsp;void&nbsp;setReferenceClassName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aClass)</pre>
<div class="block">INTERNAL:
Set the reference class for the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#setReferenceClassName-java.lang.String-">setReferenceClassName</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setSelectionCriteria-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSelectionCriteria</h4>
<pre>public&nbsp;void&nbsp;setSelectionCriteria(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;expression)</pre>
<div class="block">PUBLIC:
Set the Expression/where clause of the query.
The expression should be defined using the query's ExpressionBuilder.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setSelectionCriteria-org.eclipse.persistence.expressions.Expression-">setSelectionCriteria</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setShouldIncludeData-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShouldIncludeData</h4>
<pre>public&nbsp;void&nbsp;setShouldIncludeData(boolean&nbsp;shouldIncludeData)</pre>
<div class="block">INTERNAL:
Set if the rows for the result of the query should also be returned using a complex query result.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ComplexQueryResult.html" title="class in org.eclipse.persistence.queries"><code>ComplexQueryResult</code></a></dd>
</dl>
</li>
</ul>
<a name="shouldCheckCacheOnly--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldCheckCacheOnly</h4>
<pre>public&nbsp;boolean&nbsp;shouldCheckCacheOnly()</pre>
<div class="block">PUBLIC:
Return if cache should be checked.</div>
</li>
</ul>
<a name="shouldCheckDescriptorForCacheUsage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldCheckDescriptorForCacheUsage</h4>
<pre>public&nbsp;boolean&nbsp;shouldCheckDescriptorForCacheUsage()</pre>
<div class="block">PUBLIC:
Return whether the descriptor's disableCacheHits setting should be checked prior
to querying the cache.</div>
</li>
</ul>
<a name="shouldConformResultsInUnitOfWork--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldConformResultsInUnitOfWork</h4>
<pre>public&nbsp;boolean&nbsp;shouldConformResultsInUnitOfWork()</pre>
<div class="block">PUBLIC:
Should the results will be checked against the changes within the unit of work and object no longer matching or deleted will be remove, matching new objects will also be added..</div>
</li>
</ul>
<a name="shouldDistinctBeUsed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldDistinctBeUsed</h4>
<pre>public&nbsp;boolean&nbsp;shouldDistinctBeUsed()</pre>
<div class="block">INTERNAL:
return true if this query should use a distinct</div>
</li>
</ul>
<a name="shouldIncludeData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldIncludeData</h4>
<pre>public&nbsp;boolean&nbsp;shouldIncludeData()</pre>
<div class="block">INTERNAL:
Return if the rows for the result of the query should also be returned using a complex query result.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ComplexQueryResult.html" title="class in org.eclipse.persistence.queries"><code>ComplexQueryResult</code></a></dd>
</dl>
</li>
</ul>
<a name="shouldOuterJoinSubclasses--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldOuterJoinSubclasses</h4>
<pre>public&nbsp;boolean&nbsp;shouldOuterJoinSubclasses()</pre>
<div class="block">PUBLIC:
Return if an outer join should be used to read subclasses.
By default a separate query is done for each subclass when querying for
a root or branch inheritance class that has subclasses that span multiple tables.</div>
</li>
</ul>
<a name="setShouldOuterJoinSubclasses-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShouldOuterJoinSubclasses</h4>
<pre>public&nbsp;void&nbsp;setShouldOuterJoinSubclasses(boolean&nbsp;shouldOuterJoinSubclasses)</pre>
<div class="block">PUBLIC:
Set if an outer join should be used to read subclasses.
By default a separate query is done for each subclass when querying for
a root or branch inheritance class that has subclasses that span multiple tables.</div>
</li>
</ul>
<a name="shouldReadAllMappings--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldReadAllMappings</h4>
<pre>public&nbsp;boolean&nbsp;shouldReadAllMappings()</pre>
<div class="block">INTERNAL:
Return if this is a full object query, not partial nor fetch group.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldReadAllMappings--">shouldReadAllMappings</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="shouldReadMapping-org.eclipse.persistence.mappings.DatabaseMapping-org.eclipse.persistence.queries.FetchGroup-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldReadMapping</h4>
<pre>public&nbsp;boolean&nbsp;shouldReadMapping(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;mapping,
<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a>&nbsp;fetchGroup)</pre>
<div class="block">INTERNAL:
Check if the mapping is part of the partial attributes.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldReadMapping-org.eclipse.persistence.mappings.DatabaseMapping-org.eclipse.persistence.queries.FetchGroup-">shouldReadMapping</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="useDistinct--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>useDistinct</h4>
<pre>public&nbsp;void&nbsp;useDistinct()</pre>
<div class="block">ADVANCED:
If a distinct has been set the DISTINCT clause will be printed.
This is used internally by EclipseLink for batch reading but may also be
used directly for advanced queries or report queries.</div>
</li>
</ul>
<a name="isCachedExpressionQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCachedExpressionQuery</h4>
<pre>public&nbsp;boolean&nbsp;isCachedExpressionQuery()</pre>
<div class="block">INTERNAL:
Indicates whether the query is cached as an expression query in descriptor's query manager.</div>
</li>
</ul>
<a name="isClonePessimisticLocked-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClonePessimisticLocked</h4>
<pre>public&nbsp;boolean&nbsp;isClonePessimisticLocked(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone,
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;uow)</pre>
<div class="block">INTERNAL:
Helper method that checks if clone has been locked with uow.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#isClonePessimisticLocked-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-">isClonePessimisticLocked</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="isReferenceClassLocked--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReferenceClassLocked</h4>
<pre>protected&nbsp;boolean&nbsp;isReferenceClassLocked()</pre>
<div class="block">INTERNAL:
Cache the locking policy isReferenceClassLocked check.</div>
</li>
</ul>
<a name="recordCloneForPessimisticLocking-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recordCloneForPessimisticLocking</h4>
<pre>public&nbsp;void&nbsp;recordCloneForPessimisticLocking(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;clone,
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;uow)</pre>
<div class="block">INTERNAL:
Helper method that records clone with uow if query is pessimistic locking.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#recordCloneForPessimisticLocking-java.lang.Object-org.eclipse.persistence.internal.sessions.UnitOfWorkImpl-">recordCloneForPessimisticLocking</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="isResultSetOptimizedQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResultSetOptimizedQuery</h4>
<pre>public&nbsp;boolean&nbsp;isResultSetOptimizedQuery()</pre>
<div class="block">ADVANCED:
Return if the query should be optimized to build directly from the result set.
This optimization follows an optimized path and can only be used for,
singleton primary key, direct mapped, simple type, no inheritance, uow isolated objects.</div>
</li>
</ul>
<a name="isResultSetAccessOptimizedQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResultSetAccessOptimizedQuery</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;isResultSetAccessOptimizedQuery()</pre>
<div class="block">ADVANCED:
Return if the query result set access should be optimized.</div>
</li>
</ul>
<a name="usesResultSetAccessOptimization--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>usesResultSetAccessOptimization</h4>
<pre>public&nbsp;boolean&nbsp;usesResultSetAccessOptimization()</pre>
<div class="block">INTERNAL:
Return if the query uses ResultSet optimization.
Note that to be accurate it's required to be set by prepareResultSetAccessOptimization or checkResultSetAccessOptimization method.
It's always returns the same value as this.isResultSetOptimizedQuery.booleanValue (if not null).
Note that in this case if optimization is incompatible with other query settings then exception is thrown.
Otherwise - if the session demand optimization and it is possible - optimizes (returns true),
otherwise false.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#usesResultSetAccessOptimization--">usesResultSetAccessOptimization</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="prepareResultSetAccessOptimization--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prepareResultSetAccessOptimization</h4>
<pre>protected&nbsp;void&nbsp;prepareResultSetAccessOptimization()</pre>
<div class="block">INTERNAL:
Sets usesResultSetAccessOptimization based on isResultSetAccessOptimizedQuery, session default and
query settings that could not be altered without re-preparing the query.
Called when the query is prepared or in case usesResultSetAccessOptimization hasn't been set yet.
Throws exception if isResultSetAccessOptimizedQuery==true cannot be accommodated because of a conflict with the query settings.
In case of isResultSetAccessOptimizedQuery hasn't been set and session default conflicting with the the query settings
the optimization is turned off.</div>
</li>
</ul>
<a name="clearUsesResultSetAccessOptimization--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearUsesResultSetAccessOptimization</h4>
<pre>public&nbsp;void&nbsp;clearUsesResultSetAccessOptimization()</pre>
<div class="block">INTERNAL:</div>
</li>
</ul>
<a name="setIsResultSetOptimizedQuery-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIsResultSetOptimizedQuery</h4>
<pre>public&nbsp;void&nbsp;setIsResultSetOptimizedQuery(boolean&nbsp;isResultSetOptimizedQuery)</pre>
<div class="block">ADVANCED:
Set if the query should be optimized to build directly from the result set.
This optimization follows an optimized path and can only be used for,
singleton primary key, direct mapped, simple type, no inheritance, uow isolated objects.</div>
</li>
</ul>
<a name="setIsResultSetAccessOptimizedQuery-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIsResultSetAccessOptimizedQuery</h4>
<pre>public&nbsp;void&nbsp;setIsResultSetAccessOptimizedQuery(boolean&nbsp;isResultSetAccessOptimizedQuery)</pre>
<div class="block">ADVANCED:
Set if the query should be optimized to build directly from the result set.</div>
</li>
</ul>
<a name="clearIsResultSetOptimizedQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearIsResultSetOptimizedQuery</h4>
<pre>public&nbsp;void&nbsp;clearIsResultSetOptimizedQuery()</pre>
<div class="block">ADVANCED:
Clear the flag set by setIsResultSetOptimizedQuery method, allow to use default set on the session instead.</div>
</li>
</ul>
<a name="isDefaultLock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDefaultLock</h4>
<pre>public&nbsp;boolean&nbsp;isDefaultLock()</pre>
<div class="block">INTERNAL: Helper method to determine the default mode. If true and query has a pessimistic locking policy,
locking will be configured according to the pessimistic locking policy.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#isDefaultLock--">isDefaultLock</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="isDefaultPropertiesQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDefaultPropertiesQuery</h4>
<pre>public&nbsp;boolean&nbsp;isDefaultPropertiesQuery()</pre>
<div class="block">INTERNAL:
Return true if the query uses default properties.
This is used to determine if this query is cacheable.
i.e. does not use any properties that may conflict with another query
with the same JPQL or selection criteria.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html#isDefaultPropertiesQuery--">isDefaultPropertiesQuery</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ReadQuery.html" title="class in org.eclipse.persistence.queries">ReadQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="hasDefaultBuilder--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasDefaultBuilder</h4>
<pre>public&nbsp;boolean&nbsp;hasDefaultBuilder()</pre>
<div class="block">INTERNAL:
Checks to see if a builder has been set on the query.</div>
</li>
</ul>
<a name="hasFetchGroup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasFetchGroup</h4>
<pre>public&nbsp;boolean&nbsp;hasFetchGroup()</pre>
<div class="block">Return if a fetch group is set in the query.</div>
</li>
</ul>
<a name="getFetchGroup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchGroup</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a>&nbsp;getFetchGroup()</pre>
<div class="block">Return the fetch group set in the query.
If a fetch group is not explicitly set in the query, default fetch group optionally defined in the descriptor
would be used, unless the user explicitly calls query.setShouldUseDefaultFetchGroup(false).
Note that the returned fetchGroup may be updated during preProcess.</div>
</li>
</ul>
<a name="getLoadGroup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLoadGroup</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/LoadGroup.html" title="class in org.eclipse.persistence.queries">LoadGroup</a>&nbsp;getLoadGroup()</pre>
<div class="block">Return the load group set in the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getLoadGroup--">getLoadGroup</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="getExecutionFetchGroup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutionFetchGroup</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a>&nbsp;getExecutionFetchGroup()</pre>
<div class="block">INTERNAL:
Returns FetchGroup that will be applied to the query.
Note that the returned fetchGroup may be updated during preProcess.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getExecutionFetchGroup--">getExecutionFetchGroup</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="getExecutionFetchGroup-org.eclipse.persistence.descriptors.ClassDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutionFetchGroup</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a>&nbsp;getExecutionFetchGroup(<a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</pre>
<div class="block">INTERNAL:
Returns FetchGroup that will be applied to the query.
Note that the returned fetchGroup may be updated during preProcess.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#getExecutionFetchGroup-org.eclipse.persistence.descriptors.ClassDescriptor-">getExecutionFetchGroup</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="hasExecutionFetchGroup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasExecutionFetchGroup</h4>
<pre>public&nbsp;boolean&nbsp;hasExecutionFetchGroup()</pre>
<div class="block">INTERNAL:
Indicates whether a FetchGroup will be applied to the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#hasExecutionFetchGroup--">hasExecutionFetchGroup</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setFetchGroup-org.eclipse.persistence.queries.FetchGroup-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFetchGroup</h4>
<pre>public&nbsp;void&nbsp;setFetchGroup(<a href="../../../../org/eclipse/persistence/queries/FetchGroup.html" title="class in org.eclipse.persistence.queries">FetchGroup</a>&nbsp;newFetchGroup)</pre>
<div class="block">Set a dynamic (use case) fetch group to the query.</div>
</li>
</ul>
<a name="setFetchGroupName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFetchGroupName</h4>
<pre>public&nbsp;void&nbsp;setFetchGroupName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;groupName)</pre>
<div class="block">Set a descriptor-level pre-defined named fetch group to the query.</div>
</li>
</ul>
<a name="setLoadGroup-org.eclipse.persistence.queries.LoadGroup-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLoadGroup</h4>
<pre>public&nbsp;void&nbsp;setLoadGroup(<a href="../../../../org/eclipse/persistence/queries/LoadGroup.html" title="class in org.eclipse.persistence.queries">LoadGroup</a>&nbsp;loadGroup)</pre>
<div class="block">Set a load group to the query.</div>
</li>
</ul>
<a name="getFetchGroupName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchGroupName</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getFetchGroupName()</pre>
<div class="block">Return the fetch group name set in the query.</div>
</li>
</ul>
<a name="shouldUseDefaultFetchGroup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldUseDefaultFetchGroup</h4>
<pre>public&nbsp;boolean&nbsp;shouldUseDefaultFetchGroup()</pre>
<div class="block">Return false if the query does not use the default fetch group defined in the descriptor level.</div>
</li>
</ul>
<a name="setShouldUseDefaultFetchGroup-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShouldUseDefaultFetchGroup</h4>
<pre>public&nbsp;void&nbsp;setShouldUseDefaultFetchGroup(boolean&nbsp;shouldUseDefaultFetchGroup)</pre>
<div class="block">Set false if the user does not want to use the default fetch group defined in the descriptor level.</div>
</li>
</ul>
<a name="getConcreteSubclassCalls--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConcreteSubclassCalls</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,org.eclipse.persistence.internal.databaseaccess.DatabaseCall&gt;&nbsp;getConcreteSubclassCalls()</pre>
<div class="block">INTERNAL:
Return the cache of concrete subclass calls.
This allow concrete subclasses calls to be prepared and cached for inheritance queries.</div>
</li>
</ul>
<a name="getConcreteSubclassQueries--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConcreteSubclassQueries</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,<a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&gt;&nbsp;getConcreteSubclassQueries()</pre>
<div class="block">INTERNAL:
Return the cache of concrete subclass queries.
This allow concrete subclasses calls to be prepared and cached for table per class inheritance and interface queries.</div>
</li>
</ul>
<a name="getAggregateQueries--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAggregateQueries</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>,<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a>&gt;&nbsp;getAggregateQueries()</pre>
<div class="block">INTERNAL:
Return the cache of aggregate queries.
This allows aggregate query clones to be cached.</div>
</li>
</ul>
<a name="getAggregateQuery-org.eclipse.persistence.mappings.DatabaseMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAggregateQuery</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a>&nbsp;getAggregateQuery(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;mapping)</pre>
<div class="block">INTERNAL:
Return the aggregate query clone for the mapping.</div>
</li>
</ul>
<a name="setAggregateQuery-org.eclipse.persistence.mappings.DatabaseMapping-org.eclipse.persistence.queries.ObjectLevelReadQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAggregateQuery</h4>
<pre>public&nbsp;void&nbsp;setAggregateQuery(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>&nbsp;mapping,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelReadQuery</a>&nbsp;query)</pre>
<div class="block">INTERNAL:
Set the aggregate query clone for the mapping.</div>
</li>
</ul>
<a name="getConcreteSubclassJoinedMappingIndexes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConcreteSubclassJoinedMappingIndexes</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&gt;&nbsp;getConcreteSubclassJoinedMappingIndexes()</pre>
<div class="block">INTERNAL:
Return the cache of concrete subclass joined mapping indexes.
This allow concrete subclasses calls to be prepared and cached for inheritance queries.</div>
</li>
</ul>
<a name="isPrimaryKeyQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPrimaryKeyQuery</h4>
<pre>public&nbsp;boolean&nbsp;isPrimaryKeyQuery()</pre>
<div class="block">INTERNAL:
Return if the query is known to be by primary key.</div>
</li>
</ul>
<a name="extendPessimisticLockScope--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extendPessimisticLockScope</h4>
<pre>public&nbsp;void&nbsp;extendPessimisticLockScope()</pre>
<div class="block">INTERNAL:
Extends pessimistic lock scope.</div>
</li>
</ul>
<a name="getBatchFetchPolicy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBatchFetchPolicy</h4>
<pre>public&nbsp;<a href="../../../../org/eclipse/persistence/queries/BatchFetchPolicy.html" title="class in org.eclipse.persistence.queries">BatchFetchPolicy</a>&nbsp;getBatchFetchPolicy()</pre>
<div class="block">Return the batch fetch policy for configuring batch fetching.</div>
</li>
</ul>
<a name="setBatchFetchPolicy-org.eclipse.persistence.queries.BatchFetchPolicy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBatchFetchPolicy</h4>
<pre>public&nbsp;void&nbsp;setBatchFetchPolicy(<a href="../../../../org/eclipse/persistence/queries/BatchFetchPolicy.html" title="class in org.eclipse.persistence.queries">BatchFetchPolicy</a>&nbsp;batchFetchPolicy)</pre>
<div class="block">Set the batch fetch policy for configuring batch fetching.</div>
</li>
</ul>
<a name="getBatchReadAttributeExpressions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBatchReadAttributeExpressions</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;getBatchReadAttributeExpressions()</pre>
<div class="block">INTERNAL:
Return all attributes specified for batch reading.</div>
</li>
</ul>
<a name="setBatchReadAttributeExpressions-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBatchReadAttributeExpressions</h4>
<pre>public&nbsp;void&nbsp;setBatchReadAttributeExpressions(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;attributeExpressions)</pre>
<div class="block">INTERNAL:
Set all attributes specified for batch reading.</div>
</li>
</ul>
<a name="hasBatchReadAttributes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasBatchReadAttributes</h4>
<pre>public&nbsp;boolean&nbsp;hasBatchReadAttributes()</pre>
<div class="block">INTERNAL:
Return true is this query has batching</div>
</li>
</ul>
<a name="isAttributeBatchRead-org.eclipse.persistence.descriptors.ClassDescriptor-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAttributeBatchRead</h4>
<pre>public&nbsp;boolean&nbsp;isAttributeBatchRead(<a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;mappingDescriptor,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</pre>
<div class="block">INTERNAL:
Return if the attribute is specified for batch reading.</div>
</li>
</ul>
<a name="computeBatchReadMappingQueries--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeBatchReadMappingQueries</h4>
<pre>public&nbsp;void&nbsp;computeBatchReadMappingQueries()</pre>
<div class="block">INTERNAL:
Used to optimize joining by pre-computing the nested join queries for the mappings.</div>
</li>
</ul>
<a name="computeBatchReadAttributes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeBatchReadAttributes</h4>
<pre>public&nbsp;void&nbsp;computeBatchReadAttributes()</pre>
<div class="block">INTERNAL:
Compute the cache batched attributes.
Used to recompute batched attributes for nested aggregate queries.</div>
</li>
</ul>
<a name="computeNestedQueriesForBatchReadExpressions-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeNestedQueriesForBatchReadExpressions</h4>
<pre>protected&nbsp;void&nbsp;computeNestedQueriesForBatchReadExpressions(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&gt;&nbsp;batchReadExpressions)</pre>
<div class="block">INTERNAL:
This method is used when computing the nested queries for batch read mappings.
It recurses computing the nested mapping queries.</div>
</li>
</ul>
<a name="addBatchReadAttribute-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addBatchReadAttribute</h4>
<pre>public&nbsp;void&nbsp;addBatchReadAttribute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attributeName)</pre>
<div class="block">PUBLIC:
Specify the foreign-reference mapped attribute to be optimized in this query.
The query will execute normally, however when any of the batched parts is accessed,
the parts will all be read in a single query,
this allows all of the data required for the parts to be read in a single query instead of (n) queries.
This should be used when the application knows that it requires the part for all of the objects being read.
This can be used for one-to-one, one-to-many, many-to-many and direct collection mappings.
The use of the expression allows for nested batch reading to be expressed.
<p>Example: query.addBatchReadAttribute("phoneNumbers")</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addBatchReadAttribute-org.eclipse.persistence.expressions.Expression-"><code>addBatchReadAttribute(Expression)</code></a>,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setBatchFetchType-org.eclipse.persistence.annotations.BatchFetchType-"><code>setBatchFetchType(BatchFetchType)</code></a>,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addJoinedAttribute-java.lang.String-"><code>addJoinedAttribute(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="addBatchReadAttribute-org.eclipse.persistence.expressions.Expression-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addBatchReadAttribute</h4>
<pre>public&nbsp;void&nbsp;addBatchReadAttribute(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a>&nbsp;attributeExpression)</pre>
<div class="block">PUBLIC:
Specify the foreign-reference mapped attribute to be optimized in this query.
The query will execute normally, however when any of the batched parts is accessed,
the parts will all be read in a single query,
this allows all of the data required for the parts to be read in a single query instead of (n) queries.
This should be used when the application knows that it requires the part for all of the objects being read.
This can be used for one-to-one, one-to-many, many-to-many and direct collection mappings.
The use of the expression allows for nested batch reading to be expressed.
<p>Example: query.addBatchReadAttribute(query.getExpressionBuilder().get("policies").get("claims"))</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setBatchFetchType-org.eclipse.persistence.annotations.BatchFetchType-"><code>setBatchFetchType(BatchFetchType)</code></a>,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addJoinedAttribute-java.lang.String-"><code>addJoinedAttribute(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="setBatchFetchType-org.eclipse.persistence.annotations.BatchFetchType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBatchFetchType</h4>
<pre>public&nbsp;void&nbsp;setBatchFetchType(<a href="../../../../org/eclipse/persistence/annotations/BatchFetchType.html" title="enum in org.eclipse.persistence.annotations">BatchFetchType</a>&nbsp;type)</pre>
<div class="block">PUBLIC:
Set the batch fetch type for the query.
This can be JOIN, EXISTS, or IN.
This defines the type of batch reading to use with the query.
The query must have defined batch read attributes to set its fetch type.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addBatchReadAttribute-org.eclipse.persistence.expressions.Expression-"><code>addBatchReadAttribute(Expression)</code></a></dd>
</dl>
</li>
</ul>
<a name="setBatchFetchSize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBatchFetchSize</h4>
<pre>public&nbsp;void&nbsp;setBatchFetchSize(int&nbsp;size)</pre>
<div class="block">PUBLIC:
Set the batch fetch size for the query.
This is only relevant for the IN batch fetch type.
This defines the max number of keys for the IN clause.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setBatchFetchType-org.eclipse.persistence.annotations.BatchFetchType-"><code>setBatchFetchType(BatchFetchType)</code></a>,
<a href="../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#addBatchReadAttribute-org.eclipse.persistence.expressions.Expression-"><code>addBatchReadAttribute(Expression)</code></a></dd>
</dl>
</li>
</ul>
<a name="getBatchObjects--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBatchObjects</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;getBatchObjects()</pre>
<div class="block">INTERNAL:
Return temporary map of batched objects.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#getBatchObjects--">getBatchObjects</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setBatchObjects-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBatchObjects</h4>
<pre>public&nbsp;void&nbsp;setBatchObjects(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;batchObjects)</pre>
<div class="block">INTERNAL:
Set temporary map of batched objects.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#setBatchObjects-java.util.Map-">setBatchObjects</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="supportsResultSetAccessOptimizationOnPrepare--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>supportsResultSetAccessOptimizationOnPrepare</h4>
<pre>public&nbsp;boolean&nbsp;supportsResultSetAccessOptimizationOnPrepare()</pre>
<div class="block">INTERNAL:
Indicates whether the query can use ResultSet optimization.
The method is called when the query is prepared,
so it should refer only to the attributes that cannot be altered without re-preparing the query.
If the query is a clone and the original has been already prepared
this method will be called to set a (transient and therefore set to null) usesResultSetAccessOptimization attribute.</div>
</li>
</ul>
<a name="supportsResultSetAccessOptimizationOnExecute--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>supportsResultSetAccessOptimizationOnExecute</h4>
<pre>public&nbsp;boolean&nbsp;supportsResultSetAccessOptimizationOnExecute()</pre>
<div class="block">INTERNAL:
Indicates whether the query can use ResultSet optimization.
Note that the session must be already set.
The method is called when the query is executed,
so it should refer only to the attributes that can be altered without re-preparing the query.</div>
</li>
</ul>
<a name="shouldUseSerializedObjectPolicy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldUseSerializedObjectPolicy</h4>
<pre>public&nbsp;boolean&nbsp;shouldUseSerializedObjectPolicy()</pre>
<div class="block">INTERNAL:
Indicates whether the query should use SerializedObjectPolicy if descriptor has it.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html#shouldUseSerializedObjectPolicy--">shouldUseSerializedObjectPolicy</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/eclipse/persistence/queries/ObjectBuildingQuery.html" title="class in org.eclipse.persistence.queries">ObjectBuildingQuery</a></code></dd>
</dl>
</li>
</ul>
<a name="setShouldUseSerializedObjectPolicy-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setShouldUseSerializedObjectPolicy</h4>
<pre>public&nbsp;void&nbsp;setShouldUseSerializedObjectPolicy(boolean&nbsp;shouldUseSerializedObjectPolicy)</pre>
<div class="block">INTERNAL:
Set a flag that indicates whether the query should use SerializedObjectPolicy if descriptor has it.</div>
</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="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 class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/queries/QueryByExamplePolicy.html" title="class in org.eclipse.persistence.queries"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/queries/ObjectLevelReadQuery.html" target="_top">Frames</a></li>
<li><a href="ObjectLevelReadQuery.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.org.eclipse.persistence.queries.DatabaseQuery">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p>
</body>
</html>