blob: 4d924264a6154450210f3e11cfc3c664b1bfbf05 [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:10 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SessionBroker (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="SessionBroker (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":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"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":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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>Prev&nbsp;Class</li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/persistence/sessions/broker/SessionBroker.html" target="_top">Frames</a></li>
<li><a href="SessionBroker.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>Nested&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.sessions.broker</div>
<h2 title="Class SessionBroker" class="title">Class SessionBroker</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>org.eclipse.persistence.internal.core.sessions.CoreAbstractSession&lt;<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>,<a href="../../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a>,org.eclipse.persistence.internal.databaseaccess.Platform,<a href="../../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../../org/eclipse/persistence/sessions/SessionEventManager.html" title="class in org.eclipse.persistence.sessions">SessionEventManager</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.internal.sessions.AbstractSession</li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.sessions.broker.SessionBroker</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>, <a href="../../../../../org/eclipse/persistence/core/sessions/CoreSession.html" title="interface in org.eclipse.persistence.core.sessions">CoreSession</a>&lt;<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>,<a href="../../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a>,org.eclipse.persistence.internal.databaseaccess.Platform,<a href="../../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>,<a href="../../../../../org/eclipse/persistence/sessions/SessionEventManager.html" title="class in org.eclipse.persistence.sessions">SessionEventManager</a>&gt;, <a href="../../../../../org/eclipse/persistence/sessions/coordination/CommandProcessor.html" title="interface in org.eclipse.persistence.sessions.coordination">CommandProcessor</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SessionBroker</span>
extends org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</pre>
<div class="block"><p>
<b>Purpose</b>: Provide a single view to a TopLink session that transparently accesses multple databases.
<p>
<b>Responsibilities</b>:
<ul>
<li> Broker queries to the appropriate child sessions.
<li> Use a simplified two-stage commit policy on commit of transaction.
<li> Support brokered units of work.
</ul></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../serialized-form.html#org.eclipse.persistence.sessions.broker.SessionBroker">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&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="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#parent">parent</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.sequencing.Sequencing</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#sequencing">sequencing</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>,<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>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#sessionNamesByClass">sessionNamesByClass</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/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/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.eclipse.persistence.internal.sessions.AbstractSession&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#sessionsByName">sessionsByName</a></span></code>&nbsp;</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/sessions/broker/SessionBroker.html#shouldUseDescriptorAliases">shouldUseDescriptorAliases</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.internal.sessions.DatabaseSessionImpl">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</h3>
<code>connectedTime, databaseEventListener, isLoggedIn, sequencingHome, serverPlatform, tuner</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.internal.sessions.AbstractSession">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession</h3>
<code>accessors, activeCommandThreads, attributeGroups, broker, commandManager, commitManager, defaultReferenceMode, deferredEvents, descriptors, eventManager, exceptionHandler, externalTransactionController, identityMapAccessor, injectionManager, integrityChecker, isConcurrent, isExecutingEvents, isFinalizersEnabled, isInBroker, isInProfile, isLoggingOff, isSynchronized, jpaQueriesProcessed, lastDescriptorAccessed, logSessionString, metadatalistener, multitenantContextProperties, name, numberOfActiveUnitsOfWork, objectsLockedForClone, partitioningPolicy, pessimisticLockTimeoutDefault, pessimisticLockTimeoutUnitDefault, platform, profiler, project, properties, queries, queryBuilder, queryTimeoutDefault, queryTimeoutUnitDefault, serializer, sessionLog, shouldCheckWriteLock, shouldOptimizeResultSetAccess, shouldPropagateChanges, staticMetamodelClasses, tablePerTenantDescriptors, tablePerTenantQueries, tolerateInvalidJPQL, transactionMutex, wasJTSTransactionInternallyStarted</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.sessions.coordination.CommandProcessor">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.persistence.sessions.coordination.<a href="../../../../../org/eclipse/persistence/sessions/coordination/CommandProcessor.html" title="interface in org.eclipse.persistence.sessions.coordination">CommandProcessor</a></h3>
<code><a href="../../../../../org/eclipse/persistence/sessions/coordination/CommandProcessor.html#LOG_DEBUG">LOG_DEBUG</a>, <a href="../../../../../org/eclipse/persistence/sessions/coordination/CommandProcessor.html#LOG_ERROR">LOG_ERROR</a>, <a href="../../../../../org/eclipse/persistence/sessions/coordination/CommandProcessor.html#LOG_INFO">LOG_INFO</a>, <a href="../../../../../org/eclipse/persistence/sessions/coordination/CommandProcessor.html#LOG_WARNING">LOG_WARNING</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="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#SessionBroker--">SessionBroker</a></span>()</code>
<div class="block">PUBLIC:
Create and return a session broker.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#SessionBroker-java.util.Map-">SessionBroker</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>&nbsp;sessionNames)</code>
<div class="block">INTERNAL:
Create and return a session broker.</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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#acquireClientSessionBroker--">acquireClientSessionBroker</a></span>()</code>
<div class="block">PUBLIC:
Return a session broker that behaves as a client session broker.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#acquireClientSessionBroker-java.util.Map-java.util.Map-">acquireClientSessionBroker</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/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/sessions/server/ConnectionPolicy.html" title="class in org.eclipse.persistence.sessions.server">ConnectionPolicy</a>&gt;&nbsp;connectionPolicies,
<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;mapOfProperties)</code>
<div class="block">PUBLIC:
Return a session broker that behaves as a client session broker.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#acquireHistoricalSession-org.eclipse.persistence.history.AsOfClause-">acquireHistoricalSession</a></span>(<a href="../../../../../org/eclipse/persistence/history/AsOfClause.html" title="class in org.eclipse.persistence.history">AsOfClause</a>&nbsp;clause)</code>
<div class="block">INTERNAL:
Acquires a special historical session for reading objects as of a past time.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.UnitOfWorkImpl</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#acquireUnitOfWork--">acquireUnitOfWork</a></span>()</code>
<div class="block">PUBLIC:
Return a unit of work for this session broker.</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/sessions/broker/SessionBroker.html#addDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-">addDescriptor</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">PUBLIC:
You cannot add a descriptor to a session broker, you must add it to its session.</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/sessions/broker/SessionBroker.html#addDescriptors-org.eclipse.persistence.sessions.Project-">addDescriptors</a></span>(<a href="../../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project)</code>
<div class="block">PUBLIC:
You cannot add a project to a session broker, you must add it to its session.</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/sessions/broker/SessionBroker.html#addDescriptors-java.util.Vector-">addDescriptors</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;descriptors)</code>
<div class="block">PUBLIC:
You cannot add descriptors to a session broker, you must add them to its session.</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/sessions/broker/SessionBroker.html#addSequence-org.eclipse.persistence.sequencing.Sequence-">addSequence</a></span>(<a href="../../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a>&nbsp;sequence)</code>
<div class="block">PUBLIC:
You cannot add a sequence to a session broker, you must add it to its session.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#basicBeginTransaction--">basicBeginTransaction</a></span>()</code>
<div class="block">INTERNAL:
Begin the transaction on all child sessions.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#basicCommitTransaction--">basicCommitTransaction</a></span>()</code>
<div class="block">INTERNAL:
Commit the transaction on all child sessions.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#basicRollbackTransaction--">basicRollbackTransaction</a></span>()</code>
<div class="block">INTERNAL:
Rollback the transaction on all child sessions.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#containsQuery-java.lang.String-">containsQuery</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;queryName)</code>
<div class="block">PUBLIC:
Return true if the pre-defined query is defined on the session.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#copySessionBroker--">copySessionBroker</a></span>()</code>
<div class="block">INTERNAL:
Return a copy (not using clone) of a session broker.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;org.eclipse.persistence.internal.databaseaccess.Accessor&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getAccessors-org.eclipse.persistence.queries.Call-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.queries.DatabaseQuery-">getAccessors</a></span>(<a href="../../../../../org/eclipse/persistence/queries/Call.html" title="interface in org.eclipse.persistence.queries">Call</a>&nbsp;call,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow,
<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query)</code>
<div class="block">INTERNAL:
Return the low-level database accessors.</div>
</td>
</tr>
<tr id="i14" 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/sessions/broker/SessionBroker.html#getAsOfClause--">getAsOfClause</a></span>()</code>
<div class="block">ADVANCED:
Answers the past time this session is as of.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getExecutionSession-org.eclipse.persistence.queries.DatabaseQuery-">getExecutionSession</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:
Gets the session which this query will be executed on.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getParent--">getParent</a></span>()</code>
<div class="block">INTERNAL:
Gets the parent SessionBroker.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.databaseaccess.Platform</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getPlatform-java.lang.Class-">getPlatform</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;domainClass)</code>
<div class="block">INTERNAL:
Return the platform for a particular class.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<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/sessions/broker/SessionBroker.html#getQuery-java.lang.String-java.util.Vector-boolean-">getQuery</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;name,
<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;arguments,
boolean&nbsp;shouldSearchParent)</code>
<div class="block">PUBLIC:
Return the query from the session pre-defined queries with the given name and argument types.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sequencing.Sequencing</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getSequencing--">getSequencing</a></span>()</code>
<div class="block">PUBLIC:
Return the Sequencing object used by the session.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.sequencing.SequencingHome</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getSequencingHome--">getSequencingHome</a></span>()</code>
<div class="block">PROTECTED:
Session broker doesn't have SequencingHome.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getSessionForClass-java.lang.Class-">getSessionForClass</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;domainClass)</code>
<div class="block">INTERNAL:
Return the session to be used for the class.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getSessionForName-java.lang.String-">getSessionForName</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;name)</code>
<div class="block">INTERNAL:
Return the session by name.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getSessionForQuery-org.eclipse.persistence.queries.DatabaseQuery-">getSessionForQuery</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:
Answers the session to be used for the given query.</div>
</td>
</tr>
<tr id="i24" 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="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getSessionNamesByClass--">getSessionNamesByClass</a></span>()</code>
<div class="block">INTERNAL:
Return sessions indexed by class, each class can only have one default session.</div>
</td>
</tr>
<tr id="i25" 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/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.eclipse.persistence.internal.sessions.AbstractSession&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#getSessionsByName--">getSessionsByName</a></span>()</code>
<div class="block">INTERNAL:
Return sessions indexed by name.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#howManySequencingCallbacks--">howManySequencingCallbacks</a></span>()</code>
<div class="block">INTERNAL:
Returns a number of member sessions that require sequencing callback.</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/sessions/broker/SessionBroker.html#initializeDescriptors--">initializeDescriptors</a></span>()</code>
<div class="block">INTERNAL:
Allow each descriptor to initialize any dependencies on this session.</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/sessions/broker/SessionBroker.html#initializeIdentityMapAccessor--">initializeIdentityMapAccessor</a></span>()</code>
<div class="block">INTERNAL:
Set up the IdentityMapManager.</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/sessions/broker/SessionBroker.html#initializeSequencing--">initializeSequencing</a></span>()</code>
<div class="block">ADVANCED:
Creates sequencing object for the session broker.</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/sessions/broker/SessionBroker.html#internalExecuteQuery-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractRecord-">internalExecuteQuery</a></span>(<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;row)</code>
<div class="block">INTERNAL:
Return the results from exeucting the database query.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#isBroker--">isBroker</a></span>()</code>
<div class="block">INTERNAL:
Returns true if the session is a session Broker.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#isClientSessionBroker--">isClientSessionBroker</a></span>()</code>
<div class="block">PUBLIC:
Return if this session is a client session broker.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#isConnected--">isConnected</a></span>()</code>
<div class="block">PUBLIC:
Return if all sessions are still connected to the database.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#isSequencingCallbackRequired--">isSequencingCallbackRequired</a></span>()</code>
<div class="block">INTERNAL:
Indicates whether SequencingCallback is required.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#isServerSessionBroker--">isServerSessionBroker</a></span>()</code>
<div class="block">PUBLIC:
Return if this session is a server session broker.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#isSessionBroker--">isSessionBroker</a></span>()</code>
<div class="block">INTERNAL:
Return if this session is a session broker.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#login--">login</a></span>()</code>
<div class="block">PUBLIC:
Connect to the database using the predefined login.</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/sessions/broker/SessionBroker.html#login-java.lang.String-java.lang.String-">login</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;userName,
<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;password)</code>
<div class="block">PUBLIC:
Connect to the database using the predefined login.</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/sessions/broker/SessionBroker.html#loginAndDetectDatasource--">loginAndDetectDatasource</a></span>()</code>
<div class="block">PUBLIC:
Connect to the database using the predefined login.</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/sessions/broker/SessionBroker.html#logout--">logout</a></span>()</code>
<div class="block">PUBLIC:
Disconnect from all databases.</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/sessions/broker/SessionBroker.html#postLogin--">postLogin</a></span>()</code>
<div class="block">INTERNAL:
Rise postLogin events for member sessions and the SessionBroker.</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/sessions/broker/SessionBroker.html#registerSession-java.lang.String-org.eclipse.persistence.internal.sessions.AbstractSession-">registerSession</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;name,
org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</code>
<div class="block">PUBLIC:
Register the session under its name.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#registerSession-java.lang.String-org.eclipse.persistence.sessions.Session-">registerSession</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;name,
<a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;session)</code>
<div class="block">PUBLIC:
Register the session under its name.</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/sessions/broker/SessionBroker.html#release--">release</a></span>()</code>
<div class="block">PUBLIC:
Release the session.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#releaseJTSConnection--">releaseJTSConnection</a></span>()</code>
<div class="block">INTERNAL:
Called in the end of beforeCompletion of external transaction sychronization listener.</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/sessions/broker/SessionBroker.html#retryQuery-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.exceptions.DatabaseException-int-org.eclipse.persistence.internal.sessions.AbstractSession-">retryQuery</a></span>(<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;row,
<a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a>&nbsp;databaseException,
int&nbsp;retryCount,
org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;executionSession)</code>
<div class="block">INTERNAL:
A query execution failed due to an invalid query.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#setExternalTransactionController-org.eclipse.persistence.sessions.ExternalTransactionController-">setExternalTransactionController</a></span>(<a href="../../../../../org/eclipse/persistence/sessions/ExternalTransactionController.html" title="interface in org.eclipse.persistence.sessions">ExternalTransactionController</a>&nbsp;externalTransactionController)</code>
<div class="block">INTERNAL:
Used for JTS integration internally by ServerPlatform.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#setIntegrityChecker-org.eclipse.persistence.exceptions.IntegrityChecker-">setIntegrityChecker</a></span>(<a href="../../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html" title="class in org.eclipse.persistence.exceptions">IntegrityChecker</a>&nbsp;integrityChecker)</code>
<div class="block">PUBLIC:
set the integrityChecker.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#setLog-java.io.Writer-">setLog</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;log)</code>
<div class="block">PUBLIC:
Set the message log.</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/sessions/broker/SessionBroker.html#setProfiler-org.eclipse.persistence.sessions.SessionProfiler-">setProfiler</a></span>(<a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a>&nbsp;profiler)</code>
<div class="block">PUBLIC:
Set the profiler for the session.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#setSessionLog-org.eclipse.persistence.logging.SessionLog-">setSessionLog</a></span>(<a href="../../../../../org/eclipse/persistence/logging/SessionLog.html" title="interface in org.eclipse.persistence.logging">SessionLog</a>&nbsp;log)</code>
<div class="block">PUBLIC:
Set the session log.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#setSessionNameByClass-java.util.HashMap-">setSessionNameByClass</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a>&nbsp;sessionNameByClass)</code>
<div class="block">INTERNAL:
Set sessions indexed by class, each class can only have one default session.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#setSessionsByName-java.util.Map-">setSessionsByName</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>&nbsp;sessionsByName)</code>
<div class="block">INTERNAL:
Set sessions indexed by name.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#setShouldUseDescriptorAliases-boolean-">setShouldUseDescriptorAliases</a></span>(boolean&nbsp;shouldUseDescriptorAliases)</code>
<div class="block">PUBLIC:
Indicates whether descriptors should use aliasDescriptors map.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#setSynchronized-boolean-">setSynchronized</a></span>(boolean&nbsp;synched)</code>
<div class="block">INTERNAL:
Set isSynchronized flag to indicate that members of session broker are synchronized.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#shouldUseDescriptorAliases--">shouldUseDescriptorAliases</a></span>()</code>
<div class="block">PUBLIC:
Indicates whether descriptors should use aliasDescriptors map.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html#writesCompleted--">writesCompleted</a></span>()</code>
<div class="block">INTERNAL:
This method notifies the accessor that a particular sets of writes has
completed.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.internal.sessions.DatabaseSessionImpl">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</h3>
<code>addDescriptors, addDescriptorsToSequencing, connect, disconnect, finalize, getConnectedTime, getDatabaseEventListener, getDatasourcePlatform, getPlatform, getReadLogin, getSequencingControl, getServerPlatform, getTuner, initializeConnectedTime, initializeDescriptorIfSessionAlive, initializeDescriptors, initializeDescriptors, initializeDescriptors, initializeDescriptors, isDatabaseSession, isLoggedIn, isProtectedSession, login, postConnectDatasource, preConnectDatasource, setDatabaseEventListener, setDatasourceAndInitialize, setOrDetectDatasource, setSequencingHome, setServerPlatform, setTuner, writeAllObjects, writeAllObjects</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.internal.sessions.AbstractSession">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession</h3>
<code>acquireNonSynchronizedUnitOfWork, acquireNonSynchronizedUnitOfWork, acquireRepeatableWriteUnitOfWork, acquireUnitOfWork, addAlias, addJPAQuery, addJPATablePerTenantQuery, addMultitenantContextProperty, addQuery, addQuery, addQuery, addStaticMetamodelClass, addTablePerTenantDescriptor, addTablePerTenantQuery, basicBeginTransaction, basicExecuteCall, beginExternalTransaction, beginTransaction, buildDefaultQueryBuilder, checkAndRefreshInvalidObject, checkHierarchyForDescriptor, cleanUpInjectionManager, clearDescriptors, clearIntegrityChecker, clearLastDescriptorAccessed, clearProfile, clone, commitExternalTransaction, commitTransaction, compareObjects, compareObjectsDontMatch, config, copy, copy, copyDescriptorNamedQueries, copyDescriptorsFromProject, copyInternal, copyReadOnlyClasses, createCloneQueryValueHolder, createCloneTransformationValueHolder, createInjectionManager, createProtectedInstanceFromCachedData, deferEvent, deleteAllObjects, deleteObject, doesObjectExist, dontLogMessages, endOperationProfile, endOperationProfile, executeCall, executeDeferredEvents, executeNonSelectingCall, executeNonSelectingSQL, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeSelectingCall, executeSQL, fine, finer, finest, getAccessor, getAccessors, getActiveCommandThreads, getActiveSession, getActiveUnitOfWork, getAliasDescriptors, getAllQueries, getAttributeGroups, getBroker, getCacheKeyFromTargetSessionForMerge, getClassDescriptor, getClassDescriptor, getClassDescriptorForAlias, getCommandManager, getCommitManager, getDatasourceLogin, getDefaultReadOnlyClasses, getDefaultReferenceMode, getDescriptor, getDescriptor, getDescriptorForAlias, getDescriptors, getEventManager, getExceptionHandler, getExceptionHandlerClass, getExternalTransactionController, getId, getIdentityMapAccessor, getIdentityMapAccessorInstance, getInjectionManager, getIntegrityChecker, getJPAQueries, getJPATablePerTenantQueries, getLoader, getLog, getLogin, getLogLevel, getLogLevel, getLogSessionString, getMappedSuperclass, getMultitenantContextProperties, getName, getNextQueryId, getNextSequenceNumberValue, getNumberOfActiveUnitsOfWork, getParentIdentityMapSession, getParentIdentityMapSession, getParentIdentityMapSession, getPartitioningPolicy, getPessimisticLockTimeoutDefault, getPessimisticLockTimeoutUnitDefault, getProfiler, getProject, getProperties, getProperty, getQueries, getQuery, getQuery, getQuery, getQueryBuilder, getQueryTimeoutDefault, getQueryTimeoutUnitDefault, getRefreshMetadataListener, getRootSession, getSerializer, getSessionLog, getSessionTypeString, getStaticMetamodelClass, getTablePerTenantDescriptors, getTablePerTenantQueries, getTransactionMutex, handleException, handleSevere, hasBroker, hasCommitManager, hasDescriptor, hasEventManager, hasExceptionHandler, hasExternalTransactionController, hasProperties, hasTablePerTenantDescriptors, hasTablePerTenantQueries, incrementProfile, incrementProfile, info, insertObject, isClassReadOnly, isClassReadOnly, isClientSession, isConcurrent, isConsideredInvalid, isDistributedSession, isExclusiveConnectionRequired, isExclusiveIsolatedClientSession, isFinalizersEnabled, isHistoricalSession, isInBroker, isInProfile, isInTransaction, isIsolatedClientSession, isJPAQueriesProcessed, isLoggingOff, isRemoteSession, isRemoteUnitOfWork, isServerSession, isSynchronized, isUnitOfWork, keyFromObject, load, load, log, log, log, log, log, log, log, log, logMessage, logMessage, logThrowable, postAcquireConnection, prepareDatabaseQuery, preReleaseConnection, priviledgedExecuteNonSelectingCall, priviledgedExecuteSelectingCall, processCommand, processJPAQueries, processJPAQuery, readAllObjects, readAllObjects, readAllObjects, readAllObjects, readObject, readObject, readObject, readObject, readObject, refreshAndLockObject, refreshAndLockObject, refreshObject, registerFinalizer, releaseConnectionAfterCall, releaseReadConnection, releaseUnitOfWork, removeProperty, removeQuery, removeQuery, retrieveCacheKey, retryTransaction, rollbackExternalTransaction, rollbackTransaction, setAccessor, setBroker, setCommandManager, setCommitManager, setDatasourceLogin, setDefaultReferenceMode, setEventManager, setExceptionHandler, setInjectionManager, setIsConcurrent, setIsFinalizersEnabled, setIsInBroker, setIsInProfile, setJPAQueriesProcessed, setLoggingOff, setLogin, setLogin, setLogLevel, setName, setNumberOfActiveUnitsOfWork, setPartitioningPolicy, setPessimisticLockTimeoutDefault, setPessimisticLockTimeoutUnitDefault, setProject, setProperties, setProperty, setQueries, setQueryBuilder, setQueryTimeoutDefault, setQueryTimeoutUnitDefault, setRefreshMetadataListener, setSerializer, setShouldOptimizeResultSetAccess, setShouldPropagateChanges, setTolerateInvalidJPQL, setTransactionMutex, setWasJTSTransactionInternallyStarted, severe, shouldDisplayData, shouldLog, shouldLogMessages, shouldLogMessages, shouldOptimizeResultSetAccess, shouldPropagateChanges, shouldTolerateInvalidJPQL, startOperationProfile, startOperationProfile, toString, unwrapObject, updateObject, updateProfile, updateTablePerTenantDescriptors, validateCache, validateQuery, verifyDelete, warning, wasJTSTransactionInternallyStarted, wrapObject, writeAllObjectsWithChangeSet, writeObject</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#equals-java.lang.Object-" title="class or interface in java.lang">equals</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#hashCode--" title="class or interface in java.lang">hashCode</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>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.sessions.DatabaseSession">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.persistence.sessions.<a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></h3>
<code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#beginTransaction--">beginTransaction</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#commitTransaction--">commitTransaction</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#deleteAllObjects-java.util.Collection-">deleteAllObjects</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#deleteObject-java.lang.Object-">deleteObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#getCommandManager--">getCommandManager</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#insertObject-java.lang.Object-">insertObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#isInTransaction--">isInTransaction</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#refreshAndLockObject-java.lang.Object-">refreshAndLockObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#refreshAndLockObject-java.lang.Object-short-">refreshAndLockObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#rollbackTransaction--">rollbackTransaction</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#setCommandManager-org.eclipse.persistence.sessions.coordination.CommandManager-">setCommandManager</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#setDatasourceLogin-org.eclipse.persistence.sessions.Login-">setDatasourceLogin</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#setLogin-org.eclipse.persistence.sessions.Login-">setLogin</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#setShouldPropagateChanges-boolean-">setShouldPropagateChanges</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#shouldPropagateChanges--">shouldPropagateChanges</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#updateObject-java.lang.Object-">updateObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#writeObject-java.lang.Object-">writeObject</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.sessions.Session">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.persistence.sessions.<a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></h3>
<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#acquireUnitOfWork-org.eclipse.persistence.config.ReferenceMode-">acquireUnitOfWork</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#addJPAQuery-org.eclipse.persistence.queries.DatabaseQuery-">addJPAQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#addQuery-java.lang.String-org.eclipse.persistence.queries.DatabaseQuery-">addQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#clearIntegrityChecker--">clearIntegrityChecker</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#clearProfile--">clearProfile</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#copy-java.lang.Object-">copy</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#copy-java.lang.Object-org.eclipse.persistence.queries.AttributeGroup-">copy</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#doesObjectExist-java.lang.Object-">doesObjectExist</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#dontLogMessages--">dontLogMessages</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeNonSelectingCall-org.eclipse.persistence.queries.Call-">executeNonSelectingCall</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeNonSelectingSQL-java.lang.String-">executeNonSelectingSQL</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-org.eclipse.persistence.queries.DatabaseQuery-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-org.eclipse.persistence.queries.DatabaseQuery-java.util.List-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.lang.Class-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.lang.Class-java.util.List-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.lang.Class-java.lang.Object-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.lang.Class-java.lang.Object-java.lang.Object-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.lang.Class-java.lang.Object-java.lang.Object-java.lang.Object-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.util.List-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.lang.Object-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.lang.Object-java.lang.Object-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeQuery-java.lang.String-java.lang.Object-java.lang.Object-java.lang.Object-">executeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeSelectingCall-org.eclipse.persistence.queries.Call-">executeSelectingCall</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#executeSQL-java.lang.String-">executeSQL</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getActiveSession--">getActiveSession</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getActiveUnitOfWork--">getActiveUnitOfWork</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getClassDescriptor-java.lang.Class-">getClassDescriptor</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getClassDescriptor-java.lang.Object-">getClassDescriptor</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getClassDescriptorForAlias-java.lang.String-">getClassDescriptorForAlias</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getDatasourceLogin--">getDatasourceLogin</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getDefaultReferenceMode--">getDefaultReferenceMode</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getDescriptor-java.lang.Class-">getDescriptor</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getDescriptor-java.lang.Object-">getDescriptor</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getDescriptorForAlias-java.lang.String-">getDescriptorForAlias</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getDescriptors--">getDescriptors</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getEventManager--">getEventManager</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getExceptionHandler--">getExceptionHandler</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getExternalTransactionController--">getExternalTransactionController</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getId-java.lang.Object-">getId</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getIdentityMapAccessor--">getIdentityMapAccessor</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getIntegrityChecker--">getIntegrityChecker</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getJPAQueries--">getJPAQueries</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getLog--">getLog</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getLogin--">getLogin</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getLogLevel--">getLogLevel</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getLogLevel-java.lang.String-">getLogLevel</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getName--">getName</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getNextSequenceNumberValue-java.lang.Class-">getNextSequenceNumberValue</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getPartitioningPolicy--">getPartitioningPolicy</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getProfiler--">getProfiler</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getProject--">getProject</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getProperties--">getProperties</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getProperty-java.lang.String-">getProperty</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getQueries--">getQueries</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getQuery-java.lang.String-">getQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getQuery-java.lang.String-java.util.List-">getQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getSerializer--">getSerializer</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#getSessionLog--">getSessionLog</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#handleException-java.lang.RuntimeException-">handleException</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#handleSevere-java.lang.RuntimeException-">handleSevere</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#hasDescriptor-java.lang.Class-">hasDescriptor</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#hasExceptionHandler--">hasExceptionHandler</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#hasExternalTransactionController--">hasExternalTransactionController</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#isClientSession--">isClientSession</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#isDistributedSession--">isDistributedSession</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#isFinalizersEnabled--">isFinalizersEnabled</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#isInProfile--">isInProfile</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#isRemoteSession--">isRemoteSession</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#isRemoteUnitOfWork--">isRemoteUnitOfWork</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#isServerSession--">isServerSession</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#isUnitOfWork--">isUnitOfWork</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#log-org.eclipse.persistence.logging.SessionLogEntry-">log</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#logMessage-java.lang.String-">logMessage</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#readAllObjects-java.lang.Class-">readAllObjects</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#readAllObjects-java.lang.Class-org.eclipse.persistence.queries.Call-">readAllObjects</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#readAllObjects-java.lang.Class-org.eclipse.persistence.expressions.Expression-">readAllObjects</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#readObject-java.lang.Class-">readObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#readObject-java.lang.Class-org.eclipse.persistence.queries.Call-">readObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#readObject-java.lang.Class-org.eclipse.persistence.expressions.Expression-">readObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#readObject-java.lang.Object-">readObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#refreshObject-java.lang.Object-">refreshObject</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#removeProperty-java.lang.String-">removeProperty</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#removeQuery-java.lang.String-">removeQuery</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setDefaultReferenceMode-org.eclipse.persistence.config.ReferenceMode-">setDefaultReferenceMode</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setExceptionHandler-org.eclipse.persistence.exceptions.ExceptionHandler-">setExceptionHandler</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setIsFinalizersEnabled-boolean-">setIsFinalizersEnabled</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setLogLevel-int-">setLogLevel</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setName-java.lang.String-">setName</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setPartitioningPolicy-org.eclipse.persistence.descriptors.partitioning.PartitioningPolicy-">setPartitioningPolicy</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setProperty-java.lang.String-java.lang.Object-">setProperty</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setQueryTimeoutDefault-int-">setQueryTimeoutDefault</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setQueryTimeoutUnitDefault-java.util.concurrent.TimeUnit-">setQueryTimeoutUnitDefault</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#setSerializer-org.eclipse.persistence.sessions.serializers.Serializer-">setSerializer</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#shouldLog-int-java.lang.String-">shouldLog</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#shouldLogMessages--">shouldLogMessages</a>, <a href="../../../../../org/eclipse/persistence/sessions/Session.html#validateCache--">validateCache</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="parent">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parent</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a> parent</pre>
</li>
</ul>
<a name="sessionNamesByClass">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sessionNamesByClass</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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; sessionNamesByClass</pre>
</li>
</ul>
<a name="sessionsByName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sessionsByName</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/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.eclipse.persistence.internal.sessions.AbstractSession&gt; sessionsByName</pre>
</li>
</ul>
<a name="sequencing">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sequencing</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.sequencing.Sequencing sequencing</pre>
</li>
</ul>
<a name="shouldUseDescriptorAliases">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>shouldUseDescriptorAliases</h4>
<pre>protected&nbsp;boolean shouldUseDescriptorAliases</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SessionBroker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SessionBroker</h4>
<pre>public&nbsp;SessionBroker()</pre>
<div class="block">PUBLIC:
Create and return a session broker.
Because a session broker has multiple sessions it does not used a login.</div>
</li>
</ul>
<a name="SessionBroker-java.util.Map-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SessionBroker</h4>
<pre>protected&nbsp;SessionBroker(<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;sessionNames)</pre>
<div class="block">INTERNAL:
Create and return a session broker.
Used internally to set the Names by Class from the parent. Reduces garbage.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="acquireClientSessionBroker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acquireClientSessionBroker</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a>&nbsp;acquireClientSessionBroker()</pre>
<div class="block">PUBLIC:
Return a session broker that behaves as a client session broker. An
acquire session broker is done under the covers on each session inside
the session broker, and a new broker is returned.
NOTE: when finished with the client broker, it should be released.</div>
</li>
</ul>
<a name="acquireClientSessionBroker-java.util.Map-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acquireClientSessionBroker</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a>&nbsp;acquireClientSessionBroker(<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/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/sessions/server/ConnectionPolicy.html" title="class in org.eclipse.persistence.sessions.server">ConnectionPolicy</a>&gt;&nbsp;connectionPolicies,
<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;mapOfProperties)</pre>
<div class="block">PUBLIC:
Return a session broker that behaves as a client session broker. An
acquire session broker is done under the covers on each session inside
the session broker, and a new broker is returned.
NOTE: when finished with the client broker, it should be released.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>connectionPolicies</code> - maps session name to connectionPolicy to be used for this session;</dd>
<dd><code>mapOfProperties</code> - maps session name to properties to be used for this session.</dd>
</dl>
</li>
</ul>
<a name="acquireHistoricalSession-org.eclipse.persistence.history.AsOfClause-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acquireHistoricalSession</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;acquireHistoricalSession(<a href="../../../../../org/eclipse/persistence/history/AsOfClause.html" title="class in org.eclipse.persistence.history">AsOfClause</a>&nbsp;clause)
throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre>
<div class="block">INTERNAL:
Acquires a special historical session for reading objects as of a past time.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#acquireHistoricalSession-org.eclipse.persistence.history.AsOfClause-">acquireHistoricalSession</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>acquireHistoricalSession</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clause</code> - Represents a valid snap shot time.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code> - if <code>this</code>
not a ClientSession, plain Session, or SessionBroker.</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/expressions/Expression.html#asOf-org.eclipse.persistence.history.AsOfClause-"><code>Expression.asOf(org.eclipse.persistence.history.AsOfClause)</code></a>,
<a href="../../../../../org/eclipse/persistence/queries/ObjectLevelReadQuery.html#setAsOfClause-org.eclipse.persistence.history.AsOfClause-"><code>ObjectLevelReadQuery.setAsOfClause(org.eclipse.persistence.history.AsOfClause)</code></a>,
<a href="../../../../../org/eclipse/persistence/history/HistoryPolicy.html" title="class in org.eclipse.persistence.history"><code>HistoryPolicy</code></a></dd>
</dl>
</li>
</ul>
<a name="releaseJTSConnection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>releaseJTSConnection</h4>
<pre>public&nbsp;void&nbsp;releaseJTSConnection()</pre>
<div class="block">INTERNAL:
Called in the end of beforeCompletion of external transaction sychronization listener.
Close the managed sql connection corresponding to the external transaction,
if applicable releases accessor.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>releaseJTSConnection</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="acquireUnitOfWork--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acquireUnitOfWork</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.UnitOfWorkImpl&nbsp;acquireUnitOfWork()</pre>
<div class="block">PUBLIC:
Return a unit of work for this session broker.
Acquire a client session broker if is a server session broker.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#acquireUnitOfWork--">acquireUnitOfWork</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>acquireUnitOfWork</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>UnitOfWorkImpl</code></dd>
</dl>
</li>
</ul>
<a name="addDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDescriptor</h4>
<pre>public&nbsp;void&nbsp;addDescriptor(<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</pre>
<div class="block">PUBLIC:
You cannot add a descriptor to a session broker, you must add it to its session.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#addDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-">addDescriptor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>addDescriptor</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>DatabaseSessionImpl.addDescriptors(Collection)</code>,
<code>DatabaseSessionImpl.addDescriptors(org.eclipse.persistence.sessions.Project)</code></dd>
</dl>
</li>
</ul>
<a name="addDescriptors-java.util.Vector-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDescriptors</h4>
<pre>public&nbsp;void&nbsp;addDescriptors(<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;descriptors)
throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre>
<div class="block">PUBLIC:
You cannot add descriptors to a session broker, you must add them to its session.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd>
</dl>
</li>
</ul>
<a name="addDescriptors-org.eclipse.persistence.sessions.Project-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDescriptors</h4>
<pre>public&nbsp;void&nbsp;addDescriptors(<a href="../../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project)
throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre>
<div class="block">PUBLIC:
You cannot add a project to a session broker, you must add it to its session.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#addDescriptors-org.eclipse.persistence.sessions.Project-">addDescriptors</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>addDescriptors</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd>
</dl>
</li>
</ul>
<a name="addSequence-org.eclipse.persistence.sequencing.Sequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSequence</h4>
<pre>public&nbsp;void&nbsp;addSequence(<a href="../../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a>&nbsp;sequence)</pre>
<div class="block">PUBLIC:
You cannot add a sequence to a session broker, you must add it to its session.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#addSequence-org.eclipse.persistence.sequencing.Sequence-">addSequence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>addSequence</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#addDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-"><code>DatabaseSession.addDescriptor(org.eclipse.persistence.descriptors.ClassDescriptor)</code></a>,
<a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#addDescriptors-java.util.Collection-"><code>DatabaseSession.addDescriptors(java.util.Collection)</code></a></dd>
</dl>
</li>
</ul>
<a name="basicBeginTransaction--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>basicBeginTransaction</h4>
<pre>protected&nbsp;void&nbsp;basicBeginTransaction()
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">INTERNAL:
Begin the transaction on all child sessions.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>basicBeginTransaction</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></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></dd>
</dl>
</li>
</ul>
<a name="basicCommitTransaction--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>basicCommitTransaction</h4>
<pre>protected&nbsp;void&nbsp;basicCommitTransaction()
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">INTERNAL:
Commit the transaction on all child sessions.
This assumes that the commit of the transaction will not fail because all of the
modification has already taken place and no errors would have occurred.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>basicCommitTransaction</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></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></dd>
</dl>
</li>
</ul>
<a name="basicRollbackTransaction--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>basicRollbackTransaction</h4>
<pre>protected&nbsp;void&nbsp;basicRollbackTransaction()
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">INTERNAL:
Rollback the transaction on all child sessions.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>basicRollbackTransaction</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></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></dd>
</dl>
</li>
</ul>
<a name="containsQuery-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsQuery</h4>
<pre>public&nbsp;boolean&nbsp;containsQuery(<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;queryName)</pre>
<div class="block">PUBLIC:
Return true if the pre-defined query is defined on the session.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#containsQuery-java.lang.String-">containsQuery</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>containsQuery</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="copySessionBroker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copySessionBroker</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a>&nbsp;copySessionBroker()</pre>
<div class="block">INTERNAL:
Return a copy (not using clone) of a session broker.</div>
</li>
</ul>
<a name="getAccessors-org.eclipse.persistence.queries.Call-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.queries.DatabaseQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessors</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;org.eclipse.persistence.internal.databaseaccess.Accessor&gt;&nbsp;getAccessors(<a href="../../../../../org/eclipse/persistence/queries/Call.html" title="interface in org.eclipse.persistence.queries">Call</a>&nbsp;call,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;translationRow,
<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query)</pre>
<div class="block">INTERNAL:
Return the low-level database accessors.
The database accessor is used for direct database access.
The right accessor for this broker will be returned.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getAccessors</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</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 session is as of. Only meaningful
for special historical sessions.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#getAsOfClause--">getAsOfClause</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getAsOfClause</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An immutable object representation of the past time.
<code>null</code> if no clause set, or this a regular session.</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/sessions/broker/SessionBroker.html#acquireHistoricalSession-org.eclipse.persistence.history.AsOfClause-"><code>acquireHistoricalSession(AsOfClause)</code></a>,
<a href="../../../../../org/eclipse/persistence/expressions/Expression.html#hasAsOfClause--"><code>Expression.hasAsOfClause()</code></a></dd>
</dl>
</li>
</ul>
<a name="getParent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/persistence/sessions/broker/SessionBroker.html" title="class in org.eclipse.persistence.sessions.broker">SessionBroker</a>&nbsp;getParent()</pre>
<div class="block">INTERNAL:
Gets the parent SessionBroker.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getParent</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="getExecutionSession-org.eclipse.persistence.queries.DatabaseQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutionSession</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getExecutionSession(<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query)</pre>
<div class="block">INTERNAL:
Gets the session which this query will be executed on.
Generally will be called immediately before the call is translated,
which is immediately before session.executeCall.
<p>
Since the execution session also knows the correct datasource platform
to execute on, it is often used in the mappings where the platform is
needed for type conversion, or where calls are translated.
<p>
Is also the session with the accessor. Will return a ClientSession if
it is in transaction and has a write connection.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getExecutionSession</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - may store session name or reference class for brokers case</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a session with a live accessor</dd>
</dl>
</li>
</ul>
<a name="getPlatform-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlatform</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.databaseaccess.Platform&nbsp;getPlatform(<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;domainClass)</pre>
<div class="block">INTERNAL:
Return the platform for a particular class.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getPlatform</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="getQuery-java.lang.String-java.util.Vector-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQuery</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;getQuery(<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;name,
<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;arguments,
boolean&nbsp;shouldSearchParent)</pre>
<div class="block">PUBLIC:
Return the query from the session pre-defined queries with the given name and argument types.
This allows for common queries to be pre-defined, reused and executed by name.
This method should be used if the Session has multiple queries with the same name but
different arguments.
The search order is:
for ClientSessionBroker:
the broker;
it's member ClientSessions (but not their parent ServerSessions);
the parent SessionBroker.
for ServerSession or DatabaseSession SessionBroker:
the broker;
it's member ServerSessions (or DatabaseSessions).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getQuery</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dd><code>shouldSearchParent</code> - indicates whether parent should be searched if query not found.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>AbstractSession.getQuery(String, List)</code></dd>
</dl>
</li>
</ul>
<a name="getSessionForClass-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionForClass</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getSessionForClass(<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;domainClass)
throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre>
<div class="block">INTERNAL:
Return the session to be used for the class.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getSessionForClass</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd>
</dl>
</li>
</ul>
<a name="getSessionForName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionForName</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getSessionForName(<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;name)
throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre>
<div class="block">INTERNAL:
Return the session by name.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getSessionForName</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd>
</dl>
</li>
</ul>
<a name="getSessionForQuery-org.eclipse.persistence.queries.DatabaseQuery-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionForQuery</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getSessionForQuery(<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query)</pre>
<div class="block">INTERNAL:
Answers the session to be used for the given query.</div>
</li>
</ul>
<a name="getSessionNamesByClass--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionNamesByClass</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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getSessionNamesByClass()</pre>
<div class="block">INTERNAL:
Return sessions indexed by class, each class can only have one default session.</div>
</li>
</ul>
<a name="getSessionsByName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionsByName</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/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.eclipse.persistence.internal.sessions.AbstractSession&gt;&nbsp;getSessionsByName()</pre>
<div class="block">INTERNAL:
Return sessions indexed by name.</div>
</li>
</ul>
<a name="initializeDescriptors--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeDescriptors</h4>
<pre>public&nbsp;void&nbsp;initializeDescriptors()</pre>
<div class="block">INTERNAL:
Allow each descriptor to initialize any dependencies on this session.
This is done in two passes to allow the inheritance to be resolved first.
Normally the descriptors are added before login, then initialized on login.
Should not be called on client SessoionBroker</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>initializeDescriptors</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="initializeIdentityMapAccessor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeIdentityMapAccessor</h4>
<pre>public&nbsp;void&nbsp;initializeIdentityMapAccessor()</pre>
<div class="block">INTERNAL:
Set up the IdentityMapManager. This method allows subclasses of Session to override
the default IdentityMapManager functionality.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>initializeIdentityMapAccessor</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="internalExecuteQuery-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractRecord-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>internalExecuteQuery</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;internalExecuteQuery(<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;row)
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a>,
<a href="../../../../../org/eclipse/persistence/exceptions/QueryException.html" title="class in org.eclipse.persistence.exceptions">QueryException</a></pre>
<div class="block">INTERNAL:
Return the results from exeucting the database query.
the arguments should be a database row with raw data values.
Find the correct child session to broker the query to,
and return the result of the session executing the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>internalExecuteQuery</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></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></dd>
<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="isBroker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isBroker</h4>
<pre>public&nbsp;boolean&nbsp;isBroker()</pre>
<div class="block">INTERNAL:
Returns true if the session is a session Broker.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>isBroker</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="isClientSessionBroker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClientSessionBroker</h4>
<pre>public&nbsp;boolean&nbsp;isClientSessionBroker()</pre>
<div class="block">PUBLIC:
Return if this session is a client session broker.</div>
</li>
</ul>
<a name="isConnected--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnected</h4>
<pre>public&nbsp;boolean&nbsp;isConnected()</pre>
<div class="block">PUBLIC:
Return if all sessions are still connected to the database.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#isConnected--">isConnected</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>isConnected</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="isServerSessionBroker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isServerSessionBroker</h4>
<pre>public&nbsp;boolean&nbsp;isServerSessionBroker()</pre>
<div class="block">PUBLIC:
Return if this session is a server session broker.</div>
</li>
</ul>
<a name="isSessionBroker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSessionBroker</h4>
<pre>public&nbsp;boolean&nbsp;isSessionBroker()</pre>
<div class="block">INTERNAL:
Return if this session is a session broker.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#isSessionBroker--">isSessionBroker</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>isSessionBroker</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="login--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>login</h4>
<pre>public&nbsp;void&nbsp;login()
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">PUBLIC:
Connect to the database using the predefined login.
This connects all of the child sessions and expects that they are in a valid state to be connected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#login--">login</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>login</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></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></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>DatabaseSessionImpl.login(Login)</code></dd>
</dl>
</li>
</ul>
<a name="loginAndDetectDatasource--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loginAndDetectDatasource</h4>
<pre>public&nbsp;void&nbsp;loginAndDetectDatasource()
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">PUBLIC:
Connect to the database using the predefined login.
During connection, attempt to auto detect the required database platform.
This method can be used in systems where for ease of use developers have
EclipseLink autodetect the platform.
To be safe, however, the platform should be configured directly.
The login must have been assigned when or after creating the session.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>loginAndDetectDatasource</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></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></dd>
</dl>
</li>
</ul>
<a name="login-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>login</h4>
<pre>public&nbsp;void&nbsp;login(<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;userName,
<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;password)
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">PUBLIC:
Connect to the database using the predefined login.
This connects all of the child sessions and expects that they are in a valid state to be connected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#login-java.lang.String-java.lang.String-">login</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>login</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></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></dd>
</dl>
</li>
</ul>
<a name="logout--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logout</h4>
<pre>public&nbsp;void&nbsp;logout()
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">PUBLIC:
Disconnect from all databases.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#logout--">logout</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>logout</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code> - if a transaction is active, you must rollback any active transaction before logout.</dd>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></code> - the database will also raise an error if their is an active transaction,
or a general error occurs.</dd>
</dl>
</li>
</ul>
<a name="postLogin--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>postLogin</h4>
<pre>public&nbsp;void&nbsp;postLogin()</pre>
<div class="block">INTERNAL:
Rise postLogin events for member sessions and the SessionBroker.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>postLogin</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="registerSession-java.lang.String-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerSession</h4>
<pre>public&nbsp;void&nbsp;registerSession(<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;name,
org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</pre>
<div class="block">PUBLIC:
Register the session under its name.
All of the session's descriptors must have already been registered.
DatabaseSession/ServerSession should not be connected and descriptors should not be initialized.</div>
</li>
</ul>
<a name="registerSession-java.lang.String-org.eclipse.persistence.sessions.Session-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerSession</h4>
<pre>public&nbsp;void&nbsp;registerSession(<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;name,
<a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;session)</pre>
<div class="block">PUBLIC:
Register the session under its name.
All of the session's descriptors must have already been registered.
DatabaseSession/ServerSession should not be connected and descriptors should not be initialized.</div>
</li>
</ul>
<a name="release--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>release</h4>
<pre>public&nbsp;void&nbsp;release()</pre>
<div class="block">PUBLIC:
Release the session.
This does nothing by default, but allows for other sessions such as the ClientSession to do something.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#release--">release</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>release</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="retryQuery-org.eclipse.persistence.queries.DatabaseQuery-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.exceptions.DatabaseException-int-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retryQuery</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;retryQuery(<a href="../../../../../org/eclipse/persistence/queries/DatabaseQuery.html" title="class in org.eclipse.persistence.queries">DatabaseQuery</a>&nbsp;query,
org.eclipse.persistence.internal.sessions.AbstractRecord&nbsp;row,
<a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a>&nbsp;databaseException,
int&nbsp;retryCount,
org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;executionSession)</pre>
<div class="block">INTERNAL:
A query execution failed due to an invalid query.
Re-connect and retry the query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>retryQuery</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="setExternalTransactionController-org.eclipse.persistence.sessions.ExternalTransactionController-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExternalTransactionController</h4>
<pre>public&nbsp;void&nbsp;setExternalTransactionController(<a href="../../../../../org/eclipse/persistence/sessions/ExternalTransactionController.html" title="interface in org.eclipse.persistence.sessions">ExternalTransactionController</a>&nbsp;externalTransactionController)</pre>
<div class="block">INTERNAL:
Used for JTS integration internally by ServerPlatform.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html#setExternalTransactionController-org.eclipse.persistence.sessions.ExternalTransactionController-">setExternalTransactionController</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#setExternalTransactionController-org.eclipse.persistence.sessions.ExternalTransactionController-">setExternalTransactionController</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setExternalTransactionController</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/persistence/platform/server/CustomServerPlatform.html" title="class in org.eclipse.persistence.platform.server"><code>CustomServerPlatform</code></a></dd>
</dl>
</li>
</ul>
<a name="setIntegrityChecker-org.eclipse.persistence.exceptions.IntegrityChecker-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIntegrityChecker</h4>
<pre>public&nbsp;void&nbsp;setIntegrityChecker(<a href="../../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html" title="class in org.eclipse.persistence.exceptions">IntegrityChecker</a>&nbsp;integrityChecker)</pre>
<div class="block">PUBLIC:
set the integrityChecker. IntegrityChecker holds all the ClassDescriptor Exceptions.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#setIntegrityChecker-org.eclipse.persistence.exceptions.IntegrityChecker-">setIntegrityChecker</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setIntegrityChecker</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="setSessionLog-org.eclipse.persistence.logging.SessionLog-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSessionLog</h4>
<pre>public&nbsp;void&nbsp;setSessionLog(<a href="../../../../../org/eclipse/persistence/logging/SessionLog.html" title="interface in org.eclipse.persistence.logging">SessionLog</a>&nbsp;log)</pre>
<div class="block">PUBLIC:
Set the session log.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#setSessionLog-org.eclipse.persistence.logging.SessionLog-">setSessionLog</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setSessionLog</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>AbstractSession.logMessage(java.lang.String)</code></dd>
</dl>
</li>
</ul>
<a name="setLog-java.io.Writer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLog</h4>
<pre>public&nbsp;void&nbsp;setLog(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;log)</pre>
<div class="block">PUBLIC:
Set the message log.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#setLog-java.io.Writer-">setLog</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setLog</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>AbstractSession.logMessage(java.lang.String)</code></dd>
</dl>
</li>
</ul>
<a name="setProfiler-org.eclipse.persistence.sessions.SessionProfiler-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProfiler</h4>
<pre>public&nbsp;void&nbsp;setProfiler(<a href="../../../../../org/eclipse/persistence/sessions/SessionProfiler.html" title="interface in org.eclipse.persistence.sessions">SessionProfiler</a>&nbsp;profiler)</pre>
<div class="block">PUBLIC:
Set the profiler for the session.
This allows for performance operations to be profiled.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/sessions/Session.html#setProfiler-org.eclipse.persistence.sessions.SessionProfiler-">setProfiler</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setProfiler</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="setSessionNameByClass-java.util.HashMap-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSessionNameByClass</h4>
<pre>protected&nbsp;void&nbsp;setSessionNameByClass(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a>&nbsp;sessionNameByClass)</pre>
<div class="block">INTERNAL:
Set sessions indexed by class, each class can only have one default session.</div>
</li>
</ul>
<a name="setSessionsByName-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSessionsByName</h4>
<pre>public&nbsp;void&nbsp;setSessionsByName(<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;sessionsByName)</pre>
<div class="block">INTERNAL:
Set sessions indexed by name.</div>
</li>
</ul>
<a name="setSynchronized-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSynchronized</h4>
<pre>public&nbsp;void&nbsp;setSynchronized(boolean&nbsp;synched)</pre>
<div class="block">INTERNAL:
Set isSynchronized flag to indicate that members of session broker are synchronized.
This method should only be called by setSynchronized method of UnitOfWork
obtained from either DatabaseSession Broker or ClientSession Broker.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setSynchronized</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="writesCompleted--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writesCompleted</h4>
<pre>public&nbsp;void&nbsp;writesCompleted()</pre>
<div class="block">INTERNAL:
This method notifies the accessor that a particular sets of writes has
completed. This notification can be used for such thing as flushing the
batch mechanism</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>writesCompleted</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.AbstractSession</code></dd>
</dl>
</li>
</ul>
<a name="initializeSequencing--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeSequencing</h4>
<pre>public&nbsp;void&nbsp;initializeSequencing()</pre>
<div class="block">ADVANCED:
Creates sequencing object for the session broker.
Typically there is no need for the user to call this method -
it is called by login() and acquireClientSessionBroker.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>initializeSequencing</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="getSequencingHome--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSequencingHome</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.sequencing.SequencingHome&nbsp;getSequencingHome()</pre>
<div class="block">PROTECTED:
Session broker doesn't have SequencingHome.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getSequencingHome</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="getSequencing--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSequencing</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sequencing.Sequencing&nbsp;getSequencing()</pre>
<div class="block">PUBLIC:
Return the Sequencing object used by the session.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getSequencing</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="howManySequencingCallbacks--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>howManySequencingCallbacks</h4>
<pre>public&nbsp;int&nbsp;howManySequencingCallbacks()</pre>
<div class="block">INTERNAL:
Returns a number of member sessions that require sequencing callback.
Always returns 0 if sequencing is not connected.</div>
</li>
</ul>
<a name="isSequencingCallbackRequired--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSequencingCallbackRequired</h4>
<pre>public&nbsp;boolean&nbsp;isSequencingCallbackRequired()</pre>
<div class="block">INTERNAL:
Indicates whether SequencingCallback is required.
Always returns false if sequencing is not connected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>isSequencingCallbackRequired</code>&nbsp;in class&nbsp;<code>org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></dd>
</dl>
</li>
</ul>
<a name="shouldUseDescriptorAliases--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldUseDescriptorAliases</h4>
<pre>public&nbsp;boolean&nbsp;shouldUseDescriptorAliases()</pre>
<div class="block">PUBLIC:
Indicates whether descriptors should use aliasDescriptors map.
If aliasDescriptors is used then descriptors' aliases should be unique.</div>
</li>
</ul>
<a name="setShouldUseDescriptorAliases-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setShouldUseDescriptorAliases</h4>
<pre>public&nbsp;void&nbsp;setShouldUseDescriptorAliases(boolean&nbsp;shouldUseDescriptorAliases)</pre>
<div class="block">PUBLIC:
Indicates whether descriptors should use aliasDescriptors map.
If aliasDescriptors is used then descriptors' aliases should be unique.</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>Prev&nbsp;Class</li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/persistence/sessions/broker/SessionBroker.html" target="_top">Frames</a></li>
<li><a href="SessionBroker.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>Nested&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>