blob: 65170eea9a06e4f6814c3bedd2bee753a06f630c [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang>
<head>
<!-- Generated by javadoc -->
<title>OpenJPAEntityManager (OpenJPA Parent POM 4.1.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OpenJPAEntityManager (OpenJPA Parent POM 4.1.1 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":38,"i1":38,"i2":38,"i3":6,"i4":6,"i5":38,"i6":38,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":38,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":38,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":38,"i68":38,"i69":6,"i70":6,"i71":6,"i72":6,"i73":38,"i74":6,"i75":6,"i76":6,"i77":38,"i78":6,"i79":6,"i80":38,"i81":38,"i82":6,"i83":6,"i84":6,"i85":6,"i86":6,"i87":6,"i88":6,"i89":6,"i90":6,"i91":6,"i92":6,"i93":6,"i94":6,"i95":6,"i96":6,"i97":6,"i98":6,"i99":6,"i100":6,"i101":6,"i102":6,"i103":6,"i104":6,"i105":6,"i106":6,"i107":6,"i108":6,"i109":6,"i110":6,"i111":6,"i112":6,"i113":6,"i114":6,"i115":6,"i116":38,"i117":38,"i118":6,"i119":6,"i120":6,"i121":38,"i122":38,"i123":6,"i124":6,"i125":38,"i126":6,"i127":38,"i128":38,"i129":6,"i130":6,"i131":6,"i132":38,"i133":6,"i134":6,"i135":6,"i136":38,"i137":38,"i138":6,"i139":6,"i140":6,"i141":6,"i142":6,"i143":6,"i144":38,"i145":6,"i146":6,"i147":38,"i148":38,"i149":6,"i150":6,"i151":6,"i152":38,"i153":6,"i154":6,"i155":6,"i156":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OpenJPAEntityManager.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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>Constr&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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.openjpa.persistence</a></div>
<h2 title="Interface OpenJPAEntityManager" class="title">Interface OpenJPAEntityManager</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang" class="externalLink">AutoCloseable</a></code>, <code>jakarta.persistence.EntityManager</code>, <code>jakarta.persistence.EntityTransaction</code></dd>
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerSPI</a></code></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="EntityManagerImpl.html" title="class in org.apache.openjpa.persistence">EntityManagerImpl</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">OpenJPAEntityManager</span>
extends jakarta.persistence.EntityManager, jakarta.persistence.EntityTransaction</pre>
<div class="block">Interface implemented by OpenJPA entity managers.
This interface extends <code>EntityTransaction</code>, but this extension is
deprecated.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>0.4.0</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Abe White</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALLBACK_FAIL_FAST">CALLBACK_FAIL_FAST</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALLBACK_IGNORE">CALLBACK_IGNORE</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALLBACK_LOG">CALLBACK_LOG</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALLBACK_RETHROW">CALLBACK_RETHROW</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CALLBACK_ROLLBACK">CALLBACK_ROLLBACK</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CLEAR_ALL">CLEAR_ALL</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoClearType.html" title="enum in org.apache.openjpa.persistence"><code>AutoClearType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CLEAR_DATASTORE">CLEAR_DATASTORE</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoClearType.html" title="enum in org.apache.openjpa.persistence"><code>AutoClearType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CONN_RETAIN_ALWAYS">CONN_RETAIN_ALWAYS</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><code>ConnectionRetainMode</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CONN_RETAIN_DEMAND">CONN_RETAIN_DEMAND</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><code>ConnectionRetainMode</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CONN_RETAIN_TRANS">CONN_RETAIN_TRANS</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><code>ConnectionRetainMode</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DETACH_ALL">DETACH_ALL</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence"><code>DetachStateType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DETACH_CLOSE">DETACH_CLOSE</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DETACH_COMMIT">DETACH_COMMIT</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DETACH_FETCH_GROUPS">DETACH_FETCH_GROUPS</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence"><code>DetachStateType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DETACH_FGS">DETACH_FGS</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence"><code>DetachStateType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DETACH_LOADED">DETACH_LOADED</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence"><code>DetachStateType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DETACH_NONTXREAD">DETACH_NONTXREAD</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DETACH_ROLLBACK">DETACH_ROLLBACK</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#RESTORE_ALL">RESTORE_ALL</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><code>RestoreStateType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#RESTORE_IMMUTABLE">RESTORE_IMMUTABLE</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><code>RestoreStateType</code></a> enum instead.</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#RESTORE_NONE">RESTORE_NONE</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><code>RestoreStateType</code></a> enum instead.</div>
</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addLifecycleListener(java.lang.Object,java.lang.Class...)">addLifecycleListener</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;listener,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>...&nbsp;classes)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addTransactionListener(java.lang.Object)">addTransactionListener</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#begin()">begin</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.begin()</code>
instead: <code>em.getTransaction().begin()</code></div>
</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#beginStore()">beginStore</a></span>()</code></th>
<td class="colLast">
<div class="block">Begins a store transaction if one isn't already started.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cancelAll()">cancelAll</a></span>()</code></th>
<td class="colLast">
<div class="block">Cancel all pending data store statements.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#commit()">commit</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.commit()</code>
instead: <code>em.getTransaction().commit()</code></div>
</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#commitAndResume()">commitAndResume</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="OpenJPAEntityTransaction.html#commitAndResume()"><code>OpenJPAEntityTransaction.commitAndResume()</code></a> instead:
<code>em.getTransaction().commitAndResume()</code></div>
</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(java.lang.Object...)">containsAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Whether the given objects are managed.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(java.util.Collection)">containsAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Whether the given objects are managed.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createDynamicQuery(org.apache.openjpa.persistence.query.QueryDefinition)">createDynamicQuery</a></span>&#8203;(<a href="query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</a>&nbsp;dynamic)</code></th>
<td class="colLast">
<div class="block">Create an executable query from a dynamically defined query.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="Extent.html" title="interface in org.apache.openjpa.persistence">Extent</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createExtent(java.lang.Class,boolean)">createExtent</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls,
boolean&nbsp;subs)</code></th>
<td class="colLast">
<div class="block">Return an extent of the given class, optionally including subclasses.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createInstance(java.lang.Class)">createInstance</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls)</code></th>
<td class="colLast">
<div class="block">Create a new instance of type <code>cls</code>.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createNamedQuery(java.lang.String)">createNamedQuery</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createNativeQuery(java.lang.String)">createNativeQuery</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sql)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createNativeQuery(java.lang.String,java.lang.Class)">createNativeQuery</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sql,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;resultClass)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createNativeQuery(java.lang.String,java.lang.String)">createNativeQuery</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sql,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resultMapping)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQuery(jakarta.persistence.Query)">createQuery</a></span>&#8203;(jakarta.persistence.Query&nbsp;query)</code></th>
<td class="colLast">
<div class="block">Create a new query from the given one.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQuery(java.lang.String)">createQuery</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;query)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQuery(java.lang.String,java.lang.String)">createQuery</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;language,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;query)</code></th>
<td class="colLast">
<div class="block">Create a new query in the given language.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detachAll(java.lang.Object...)">detachAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Detach the specified objects from the entity manager.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detachAll(java.util.Collection)">detachAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Detach the specified objects from the entity manager.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detachCopy(T)">detachCopy</a></span>&#8203;(T&nbsp;pc)</code></th>
<td class="colLast">
<div class="block">Detach the specified object from the entity manager, detaching based on
the AutoDetach value specified and returning a copy of the detached
entity.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dirty(java.lang.Object,java.lang.String)">dirty</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;field)</code></th>
<td class="colLast">
<div class="block">Make the named field of the given object dirty.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dirtyClass(java.lang.Class)">dirtyClass</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;cls)</code></th>
<td class="colLast">
<div class="block">Mark the given class as dirty within the current transaction.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#evict(java.lang.Object)">evict</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</code></th>
<td class="colLast">
<div class="block"> Evict the given object.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#evictAll()">evictAll</a></span>()</code></th>
<td class="colLast">
<div class="block">Evict all clean objects.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#evictAll(java.lang.Class)">evictAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;cls)</code></th>
<td class="colLast">
<div class="block">Evict all persistent-clean and persistent-nontransactional
instances in the extent of the given class (including subclasses).</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#evictAll(java.lang.Object...)">evictAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Evict the given objects.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#evictAll(java.util.Collection)">evictAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Evict the given objects.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#evictAll(org.apache.openjpa.persistence.Extent)">evictAll</a></span>&#8203;(<a href="Extent.html" title="interface in org.apache.openjpa.persistence">Extent</a>&nbsp;extent)</code></th>
<td class="colLast">
<div class="block">Evict all persistent-clean and persistent-nontransactional
instances in the given <a href="Extent.html" title="interface in org.apache.openjpa.persistence"><code>Extent</code></a>.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findAll(java.lang.Class,java.lang.Object...)">findAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;oids)</code></th>
<td class="colLast">
<div class="block">Return the objects with the given oids.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findAll(java.lang.Class,java.util.Collection)">findAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;oids)</code></th>
<td class="colLast">
<div class="block">Return the objects with the given oids.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findCached(java.lang.Class,java.lang.Object)">findCached</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;oid)</code></th>
<td class="colLast">
<div class="block">Return the cached instance for the given oid/object, or null if not
cached.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="AutoClearType.html" title="enum in org.apache.openjpa.persistence">AutoClearType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAutoClear()">getAutoClear</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether to clear state when entering a transaction.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/EnumSet.html?is-external=true" title="class or interface in java.util" class="externalLink">EnumSet</a>&lt;<a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAutoDetach()">getAutoDetach</a></span>()</code></th>
<td class="colLast">
<div class="block"><a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> values which indicate when persistent
managed objects should be automatically detached in-place.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassLoader</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClassLoader()">getClassLoader</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the current thread's class loader at the time this entity
manager was obtained from the factory.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConfiguration()">getConfiguration</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnection()">getConnection</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the connection in use by the entity manager, or a new
connection if none.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnectionPassword()">getConnectionPassword</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the connection password.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence">ConnectionRetainMode</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnectionRetainMode()">getConnectionRetainMode</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the connection retain mode for this entity manager.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnectionUserName()">getConnectionUserName</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the connection user name.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="criteria/OpenJPACriteriaBuilder.html" title="interface in org.apache.openjpa.persistence.criteria">OpenJPACriteriaBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCriteriaBuilder()">getCriteriaBuilder</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the QueryBuilder with OpenJPA-extended capabilities.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence">DetachStateType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDetachState()">getDetachState</a></span>()</code></th>
<td class="colLast">
<div class="block">Detach mode constant to determine which fields are part of the
detached graph.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDirtyObjects()">getDirtyObjects</a></span>()</code></th>
<td class="colLast">
<div class="block">Return a set of current dirty instances.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code><a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEntityManagerFactory()">getEntityManagerFactory</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the factory that produced this entity manager.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEvictFromStoreCache()">getEvictFromStoreCache</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether to also evict an object from the store cache when it is
evicted through this entity manager.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence">FetchPlan</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFetchPlan()">getFetchPlan</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the (mutable) fetch plan for loading objects from this
entity manager.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="Generator.html" title="interface in org.apache.openjpa.persistence">Generator</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFieldGenerator(java.lang.Class,java.lang.String)">getFieldGenerator</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;forClass,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;fieldName)</code></th>
<td class="colLast">
<div class="block">Returns a <a href="Generator.html" title="interface in org.apache.openjpa.persistence"><code>Generator</code></a> for the generated values of the specified
type, or null if the field is not generated.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="Generator.html" title="interface in org.apache.openjpa.persistence">Generator</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIdGenerator(java.lang.Class)">getIdGenerator</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;forClass)</code></th>
<td class="colLast">
<div class="block">Returns a <a href="Generator.html" title="interface in org.apache.openjpa.persistence"><code>Generator</code></a> for the datastore identity values of the
specified type, or null if the type is unmanaged or its identity
cannot be represented by a sequence.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIgnoreChanges()">getIgnoreChanges</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether to take into account changes in the transaction when executing
a query or iterating an extent.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLifecycleListenerCallbackMode()">getLifecycleListenerCallbackMode</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>jakarta.persistence.LockModeType</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLockMode(java.lang.Object)">getLockMode</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</code></th>
<td class="colLast">
<div class="block">Return the lock mode of the given instance, or null if not locked.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getManagedObjects()">getManagedObjects</a></span>()</code></th>
<td class="colLast">
<div class="block">Return a set of all managed instances.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMultithreaded()">getMultithreaded</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether the entity manager or its managed instances are used in a
multithreaded environment.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code><a href="Generator.html" title="interface in org.apache.openjpa.persistence">Generator</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNamedGenerator(java.lang.String)">getNamedGenerator</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Return the named generator defined in the metadata.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNontransactionalRead()">getNontransactionalRead</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether to allow nontransactional access to persistent state.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNontransactionalWrite()">getNontransactionalWrite</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether to allow nontransactional changes to persistent state.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjectId(java.lang.Object)">getObjectId</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Return the oid of the given instance.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjectIdClass(java.lang.Class)">getObjectIdClass</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;pcClass)</code></th>
<td class="colLast">
<div class="block">Return the application identity class the given persistent class uses
for object ids, or null if not a type that uses application identity.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOptimistic()">getOptimistic</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether to use optimistic transactional semantics.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOrderDirtyObjects()">getOrderDirtyObjects</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether dirty objects will be returned in the order they were dirtied.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPendingTransactionalObjects()">getPendingTransactionalObjects</a></span>()</code></th>
<td class="colLast">
<div class="block">Return a set of instances which will become transactional upon
the next transaction.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPersistedClasses()">getPersistedClasses</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the set of classes that have been made persistent in the current
transaction.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPopulateStoreCache()">getPopulateStoreCache</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether objects accessed during this transaction will be added to the
store cache.</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRemovedClasses()">getRemovedClasses</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the set of classes that have been deleted in the current
transaction.</div>
</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code><a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence">RestoreStateType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRestoreState()">getRestoreState</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether to restore an object's original state on rollback.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRetainState()">getRetainState</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether objects retain their persistent state on transaction commit.</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRollbackCause()">getRollbackCause</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="OpenJPAEntityTransaction.html#getRollbackCause()"><code>OpenJPAEntityTransaction.getRollbackCause()</code></a>
instead: <code>em.getTransaction().getRollbackCause()</code></div>
</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRollbackOnly()">getRollbackOnly</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.getRollbackOnly()</code>
instead: <code>em.getTransaction().getRollbackOnly()</code></div>
</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSupportedProperties()">getSupportedProperties</a></span>()</code></th>
<td class="colLast">
<div class="block">Get the properties supported by this runtime.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSyncWithManagedTransactions()">getSyncWithManagedTransactions</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether to check for a global transaction upon every managed,
non-transactional operation.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code><a href="OpenJPAEntityTransaction.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityTransaction</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTransaction()">getTransaction</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTransactionalObjects()">getTransactionalObjects</a></span>()</code></th>
<td class="colLast">
<div class="block">Return a set of current transaction instances.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTransactionListenerCallbackMode()">getTransactionListenerCallbackMode</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUpdatedClasses()">getUpdatedClasses</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the set of classes for objects that have been modified
in the current transaction.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUserObject(java.lang.Object)">getUserObject</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Get the value for the specified key from the map of user objects.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVersion(java.lang.Object)">getVersion</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Returns the current version indicator for <code>o</code>.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isActive()">isActive</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.isActive()</code>
instead: <code>em.getTransaction().isActive()</code></div>
</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDetached(java.lang.Object)">isDetached</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Returns <code>true</code> if <code>pc</code> is a detached object
(one that can be reattached to a <code>EntityManager</code> via a call
to <code>EntityManager.merge(T)</code>); otherwise returns
<code>false</code>.</div>
</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDirty(java.lang.Object)">isDirty</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Return whether the given object is dirty.</div>
</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLargeTransaction()">isLargeTransaction</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#isTrackChangesByType()"><code>isTrackChangesByType()</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isManaged()">isManaged</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#isTransactionManaged()"><code>isTransactionManaged()</code></a> instead to interrogate
whether or not this EntityManager's transaction is managed.</div>
</div>
</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNewlyPersistent(java.lang.Object)">isNewlyPersistent</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Return whether the given object was made persistent in the current
transaction.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPersistent(java.lang.Object)">isPersistent</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Return whether the given object is persistent.</div>
</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRemoved(java.lang.Object)">isRemoved</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Return whether the given object is deleted.</div>
</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStoreActive()">isStoreActive</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether a store transaction is active.</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTrackChangesByType()">isTrackChangesByType</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether memory usage is reduced during this transaction at the expense
of tracking changes at the type level instead of the instance level,
resulting in more aggressive cache invalidation.</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTransactional(java.lang.Object)">isTransactional</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Return whether the given object is transactional.</div>
</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTransactionManaged()">isTransactionManaged</a></span>()</code></th>
<td class="colLast">
<div class="block">Whether this entity manager is using managed transactions.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lock(java.lang.Object)">lock</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</code></th>
<td class="colLast">
<div class="block">Ensure that the given instance is locked at the current lock level, as
set in the <a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence"><code>FetchPlan</code></a> for the entity manager.</div>
</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lock(java.lang.Object,jakarta.persistence.LockModeType,int)">lock</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc,
jakarta.persistence.LockModeType&nbsp;mode,
int&nbsp;timeout)</code></th>
<td class="colLast">
<div class="block">Ensure that the given instance is locked at the given lock level.</div>
</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lockAll(java.lang.Object...)">lockAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Ensure that the given instances are locked at the current lock level,
as set in the <a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence"><code>FetchPlan</code></a> for the entity manager.</div>
</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lockAll(java.lang.Object%5B%5D,jakarta.persistence.LockModeType,int)">lockAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;pcs,
jakarta.persistence.LockModeType&nbsp;mode,
int&nbsp;timeout)</code></th>
<td class="colLast">
<div class="block">Ensure that the given instances are locked at the given lock level.</div>
</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lockAll(java.util.Collection)">lockAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Ensure that the given instances are locked at the current lock level,
as set in the <a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence"><code>FetchPlan</code></a> for the entity manager.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lockAll(java.util.Collection,jakarta.persistence.LockModeType,int)">lockAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs,
jakarta.persistence.LockModeType&nbsp;mode,
int&nbsp;timeout)</code></th>
<td class="colLast">
<div class="block">Ensure that the given instances are locked at the given lock level.</div>
</td>
</tr>
<tr id="i95" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mergeAll(java.lang.Object...)">mergeAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Merge the specified objects into the entity manager.</div>
</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mergeAll(java.util.Collection)">mergeAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Merge the specified detached objects into the entity manager.</div>
</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nontransactional(java.lang.Object)">nontransactional</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</code></th>
<td class="colLast">
<div class="block">Make the given object nontransactional.</div>
</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nontransactionalAll(java.lang.Object%5B%5D)">nontransactionalAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;objs)</code></th>
<td class="colLast">
<div class="block">Make the given objects nontransactional.</div>
</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nontransactionalAll(java.util.Collection)">nontransactionalAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;objs)</code></th>
<td class="colLast">
<div class="block">Make the given objects nontransactional.</div>
</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#persistAll(java.lang.Object...)">persistAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Persist the given objects.</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#persistAll(java.util.Collection)">persistAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Persist the given objects.</div>
</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#popFetchPlan()">popFetchPlan</a></span>()</code></th>
<td class="colLast">
<div class="block">Pops the fetch plan from the top of the stack, making the next one down
the active one.</div>
</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#preFlush()">preFlush</a></span>()</code></th>
<td class="colLast">
<div class="block">Run pre-flush actions on transactional objects, including
persistence-by-reachability, inverse relationship management,
deletion of dependent instances, and instance callbacks.</div>
</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code><a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence">FetchPlan</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pushFetchPlan()">pushFetchPlan</a></span>()</code></th>
<td class="colLast">
<div class="block">Pushes a new fetch plan that inherits from the current fetch plan onto
a stack, and makes the new plan the active one.</div>
</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#putUserObject(java.lang.Object,java.lang.Object)">putUserObject</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;key,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;val)</code></th>
<td class="colLast">
<div class="block">Put the specified key-value pair into the map of user objects.</div>
</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#refreshAll()">refreshAll</a></span>()</code></th>
<td class="colLast">
<div class="block">Refresh all transactional objects.</div>
</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#refreshAll(java.lang.Object...)">refreshAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Refresh the state of the given objects.</div>
</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#refreshAll(java.util.Collection)">refreshAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Refresh the state of the given objects.</div>
</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#release(java.lang.Object)">release</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</code></th>
<td class="colLast">
<div class="block">Release the given object from management.</div>
</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseAll(java.lang.Object...)">releaseAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Release the given object from management.</div>
</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseAll(java.util.Collection)">releaseAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Release the given objects from management.</div>
</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseSavepoint()">releaseSavepoint</a></span>()</code></th>
<td class="colLast">
<div class="block">Release the last set savepoint and any resources associated with it.</div>
</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#releaseSavepoint(java.lang.String)">releaseSavepoint</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Release the savepoint and any resources associated with it.</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAll(java.lang.Object...)">removeAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Delete the given persistent objects.</div>
</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAll(java.util.Collection)">removeAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Delete the given persistent objects.</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeLifecycleListener(java.lang.Object)">removeLifecycleListener</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeTransactionListener(java.lang.Object)">removeTransactionListener</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#retrieve(java.lang.Object)">retrieve</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</code></th>
<td class="colLast">
<div class="block">Immediately load the given object's persistent fields.</div>
</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#retrieveAll(java.lang.Object...)">retrieveAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Retrieve the persistent state of the given objects.</div>
</td>
</tr>
<tr id="i120" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#retrieveAll(java.util.Collection)">retrieveAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</code></th>
<td class="colLast">
<div class="block">Retrieve the persistent state of the given objects.</div>
</td>
</tr>
<tr id="i121" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rollback()">rollback</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.rollback()</code>
instead: <code>em.getTransaction().rollback()</code></div>
</div>
</td>
</tr>
<tr id="i122" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rollbackAndResume()">rollbackAndResume</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="OpenJPAEntityTransaction.html#rollbackAndResume()"><code>OpenJPAEntityTransaction.rollbackAndResume()</code></a>
instead: <code>em.getTransaction().rollbackAndResume()</code></div>
</div>
</td>
</tr>
<tr id="i123" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rollbackToSavepoint()">rollbackToSavepoint</a></span>()</code></th>
<td class="colLast">
<div class="block">Rollback the current transaction to the last savepoint.</div>
</td>
</tr>
<tr id="i124" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rollbackToSavepoint(java.lang.String)">rollbackToSavepoint</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Rollback the current transaction to the given savepoint name.</div>
</td>
</tr>
<tr id="i125" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAutoClear(int)">setAutoClear</a></span>&#8203;(int&nbsp;autoClear)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setAutoClear(org.apache.openjpa.persistence.AutoClearType)"><code>setAutoClear(AutoClearType)</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i126" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAutoClear(org.apache.openjpa.persistence.AutoClearType)">setAutoClear</a></span>&#8203;(<a href="AutoClearType.html" title="enum in org.apache.openjpa.persistence">AutoClearType</a>&nbsp;clearType)</code></th>
<td class="colLast">
<div class="block">Whether to clear state when entering a transaction.</div>
</td>
</tr>
<tr id="i127" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAutoDetach(int)">setAutoDetach</a></span>&#8203;(int&nbsp;autoDetachFlags)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType)"><code>setAutoDetach(AutoDetachType)</code></a> or
<a href="#setAutoDetach(java.util.EnumSet)"><code>setAutoDetach(java.util.EnumSet)</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i128" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAutoDetach(int,boolean)">setAutoDetach</a></span>&#8203;(int&nbsp;flag,
boolean&nbsp;on)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType,boolean)"><code>setAutoDetach(AutoDetachType, boolean)</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i129" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAutoDetach(java.util.EnumSet)">setAutoDetach</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/EnumSet.html?is-external=true" title="class or interface in java.util" class="externalLink">EnumSet</a>&lt;<a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</a>&gt;&nbsp;values)</code></th>
<td class="colLast">
<div class="block"><a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> values which indicate when persistent
managed objects should be automatically detached in-place.</div>
</td>
</tr>
<tr id="i130" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType)">setAutoDetach</a></span>&#8203;(<a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block"><a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> values which indicate when persistent
managed objects should be automatically detached in-place.</div>
</td>
</tr>
<tr id="i131" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType,boolean)">setAutoDetach</a></span>&#8203;(<a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</a>&nbsp;value,
boolean&nbsp;on)</code></th>
<td class="colLast">
<div class="block">Bit flags marked in <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> which indicate when persistent
managed objects should be automatically detached in-place.</div>
</td>
</tr>
<tr id="i132" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDetachState(int)">setDetachState</a></span>&#8203;(int&nbsp;detach)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setDetachState(org.apache.openjpa.persistence.DetachStateType)"><code>setDetachState(DetachStateType)</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i133" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDetachState(org.apache.openjpa.persistence.DetachStateType)">setDetachState</a></span>&#8203;(<a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence">DetachStateType</a>&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Detach mode constant to determine which fields are part of the
detached graph.</div>
</td>
</tr>
<tr id="i134" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEvictFromStoreCache(boolean)">setEvictFromStoreCache</a></span>&#8203;(boolean&nbsp;evict)</code></th>
<td class="colLast">
<div class="block">Whether to also evict an object from the store cache when it is
evicted through this entity manager.</div>
</td>
</tr>
<tr id="i135" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIgnoreChanges(boolean)">setIgnoreChanges</a></span>&#8203;(boolean&nbsp;ignore)</code></th>
<td class="colLast">
<div class="block">Whether to take into account changes in the transaction when executing
a query or iterating an extent.</div>
</td>
</tr>
<tr id="i136" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLargeTransaction(boolean)">setLargeTransaction</a></span>&#8203;(boolean&nbsp;value)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setTrackChangesByType(boolean)"><code>setTrackChangesByType(boolean)</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i137" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLifecycleListenerCallbackMode(int)">setLifecycleListenerCallbackMode</a></span>&#8203;(int&nbsp;callbackMode)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i138" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMultithreaded(boolean)">setMultithreaded</a></span>&#8203;(boolean&nbsp;multi)</code></th>
<td class="colLast">
<div class="block">Whether the entity manager or its managed instances are used in a
multithreaded environment.</div>
</td>
</tr>
<tr id="i139" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNontransactionalRead(boolean)">setNontransactionalRead</a></span>&#8203;(boolean&nbsp;read)</code></th>
<td class="colLast">
<div class="block">Whether to allow nontransactional access to persistent state.</div>
</td>
</tr>
<tr id="i140" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNontransactionalWrite(boolean)">setNontransactionalWrite</a></span>&#8203;(boolean&nbsp;write)</code></th>
<td class="colLast">
<div class="block">Whether to allow nontransactional changes to persistent state.</div>
</td>
</tr>
<tr id="i141" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOptimistic(boolean)">setOptimistic</a></span>&#8203;(boolean&nbsp;opt)</code></th>
<td class="colLast">
<div class="block">Whether to use optimistic transactional semantics.</div>
</td>
</tr>
<tr id="i142" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOrderDirtyObjects(boolean)">setOrderDirtyObjects</a></span>&#8203;(boolean&nbsp;order)</code></th>
<td class="colLast">
<div class="block">Whether dirty objects will be returned in the order they were dirtied.</div>
</td>
</tr>
<tr id="i143" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPopulateStoreCache(boolean)">setPopulateStoreCache</a></span>&#8203;(boolean&nbsp;cache)</code></th>
<td class="colLast">
<div class="block">Whether to populate the store cache with objects used by this
transaction.</div>
</td>
</tr>
<tr id="i144" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRestoreState(int)">setRestoreState</a></span>&#8203;(int&nbsp;restore)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setRestoreState(org.apache.openjpa.persistence.RestoreStateType)"><code>setRestoreState(RestoreStateType)</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i145" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRestoreState(org.apache.openjpa.persistence.RestoreStateType)">setRestoreState</a></span>&#8203;(<a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence">RestoreStateType</a>&nbsp;restoreType)</code></th>
<td class="colLast">
<div class="block">Whether to restore an object's original state on rollback.</div>
</td>
</tr>
<tr id="i146" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRetainState(boolean)">setRetainState</a></span>&#8203;(boolean&nbsp;retain)</code></th>
<td class="colLast">
<div class="block">Whether objects retain their persistent state on transaction commit.</div>
</td>
</tr>
<tr id="i147" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRollbackOnly()">setRollbackOnly</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.setRollbackOnly()</code>
instead: <code>em.getTransaction().setRollbackOnly()</code></div>
</div>
</td>
</tr>
<tr id="i148" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRollbackOnly(java.lang.Throwable)">setRollbackOnly</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;cause)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="OpenJPAEntityTransaction.html#setRollbackOnly(java.lang.Throwable)"><code>OpenJPAEntityTransaction.setRollbackOnly(java.lang.Throwable)</code></a>
instead: <code>em.getTransaction().setRollbackOnly()</code></div>
</div>
</td>
</tr>
<tr id="i149" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSavepoint(java.lang.String)">setSavepoint</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Set a transactional savepoint where operations after this savepoint
will be rolled back.</div>
</td>
</tr>
<tr id="i150" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSyncWithManagedTransactions(boolean)">setSyncWithManagedTransactions</a></span>&#8203;(boolean&nbsp;resync)</code></th>
<td class="colLast">
<div class="block">Whether to check for a global transaction upon every managed,
non-transactional operation.</div>
</td>
</tr>
<tr id="i151" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTrackChangesByType(boolean)">setTrackChangesByType</a></span>&#8203;(boolean&nbsp;track)</code></th>
<td class="colLast">
<div class="block">If a large number of objects will be created, modified, or deleted
during this transaction setting this option to true will reduce memory
usage if you perform periodic flushes by tracking changes at the type
level instead of the instance level, resulting in more aggressive cache
invalidation.</div>
</td>
</tr>
<tr id="i152" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTransactionListenerCallbackMode(int)">setTransactionListenerCallbackMode</a></span>&#8203;(int&nbsp;callbackMode)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i153" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transactional(java.lang.Object,boolean)">transactional</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc,
boolean&nbsp;updateVersion)</code></th>
<td class="colLast">
<div class="block">Make the given object transactional.</div>
</td>
</tr>
<tr id="i154" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transactionalAll(java.lang.Object%5B%5D,boolean)">transactionalAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;objs,
boolean&nbsp;updateVersion)</code></th>
<td class="colLast">
<div class="block">Make the given objects transactional.</div>
</td>
</tr>
<tr id="i155" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transactionalAll(java.util.Collection,boolean)">transactionalAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;objs,
boolean&nbsp;updateVersion)</code></th>
<td class="colLast">
<div class="block">Make the given objects transactional.</div>
</td>
</tr>
<tr id="i156" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validateChanges()">validateChanges</a></span>()</code></th>
<td class="colLast">
<div class="block">Validate the changes made in this transaction, reporting any optimistic
violations, constraint violations, etc.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.jakarta.persistence.EntityManager">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;jakarta.persistence.EntityManager</h3>
<code>clear, close, contains, createEntityGraph, createEntityGraph, createNamedQuery, createNamedStoredProcedureQuery, createQuery, createQuery, createQuery, createQuery, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, detach, find, find, find, find, flush, getDelegate, getEntityGraph, getEntityGraphs, getFlushMode, getMetamodel, getProperties, getReference, isJoinedToTransaction, isOpen, joinTransaction, lock, lock, merge, persist, refresh, refresh, refresh, refresh, remove, setFlushMode, setProperty, unwrap</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="CONN_RETAIN_DEMAND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONN_RETAIN_DEMAND</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CONN_RETAIN_DEMAND</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><code>ConnectionRetainMode</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CONN_RETAIN_DEMAND">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CONN_RETAIN_TRANS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONN_RETAIN_TRANS</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CONN_RETAIN_TRANS</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><code>ConnectionRetainMode</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CONN_RETAIN_TRANS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CONN_RETAIN_ALWAYS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONN_RETAIN_ALWAYS</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CONN_RETAIN_ALWAYS</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence"><code>ConnectionRetainMode</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CONN_RETAIN_ALWAYS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DETACH_FETCH_GROUPS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DETACH_FETCH_GROUPS</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int DETACH_FETCH_GROUPS</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence"><code>DetachStateType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_FETCH_GROUPS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DETACH_FGS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DETACH_FGS</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int DETACH_FGS</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence"><code>DetachStateType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_FGS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DETACH_LOADED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DETACH_LOADED</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int DETACH_LOADED</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence"><code>DetachStateType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_LOADED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DETACH_ALL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DETACH_ALL</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int DETACH_ALL</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence"><code>DetachStateType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_ALL">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="RESTORE_NONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RESTORE_NONE</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int RESTORE_NONE</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><code>RestoreStateType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.RESTORE_NONE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="RESTORE_IMMUTABLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RESTORE_IMMUTABLE</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int RESTORE_IMMUTABLE</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><code>RestoreStateType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.RESTORE_IMMUTABLE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="RESTORE_ALL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RESTORE_ALL</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int RESTORE_ALL</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence"><code>RestoreStateType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.RESTORE_ALL">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DETACH_CLOSE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DETACH_CLOSE</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int DETACH_CLOSE</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_CLOSE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DETACH_COMMIT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DETACH_COMMIT</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int DETACH_COMMIT</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_COMMIT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DETACH_NONTXREAD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DETACH_NONTXREAD</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int DETACH_NONTXREAD</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_NONTXREAD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DETACH_ROLLBACK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DETACH_ROLLBACK</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int DETACH_ROLLBACK</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.DETACH_ROLLBACK">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CLEAR_DATASTORE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CLEAR_DATASTORE</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CLEAR_DATASTORE</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoClearType.html" title="enum in org.apache.openjpa.persistence"><code>AutoClearType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CLEAR_DATASTORE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CLEAR_ALL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CLEAR_ALL</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CLEAR_ALL</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="AutoClearType.html" title="enum in org.apache.openjpa.persistence"><code>AutoClearType</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CLEAR_ALL">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CALLBACK_FAIL_FAST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CALLBACK_FAIL_FAST</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CALLBACK_FAIL_FAST</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_FAIL_FAST">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CALLBACK_IGNORE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CALLBACK_IGNORE</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CALLBACK_IGNORE</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_IGNORE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CALLBACK_LOG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CALLBACK_LOG</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CALLBACK_LOG</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_LOG">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CALLBACK_RETHROW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CALLBACK_RETHROW</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CALLBACK_RETHROW</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_RETHROW">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CALLBACK_ROLLBACK">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CALLBACK_ROLLBACK</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
static final&nbsp;int CALLBACK_ROLLBACK</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use the <a href="CallbackMode.html" title="enum in org.apache.openjpa.persistence"><code>CallbackMode</code></a> enum instead.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAEntityManager.CALLBACK_ROLLBACK">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getEntityManagerFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityManagerFactory</h4>
<pre class="methodSignature"><a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a>&nbsp;getEntityManagerFactory()</pre>
<div class="block">Return the factory that produced this entity manager.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getEntityManagerFactory</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
</dl>
</li>
</ul>
<a id="getFetchPlan()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchPlan</h4>
<pre class="methodSignature"><a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence">FetchPlan</a>&nbsp;getFetchPlan()</pre>
<div class="block">Return the (mutable) fetch plan for loading objects from this
entity manager.</div>
</li>
</ul>
<a id="pushFetchPlan()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pushFetchPlan</h4>
<pre class="methodSignature"><a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence">FetchPlan</a>&nbsp;pushFetchPlan()</pre>
<div class="block">Pushes a new fetch plan that inherits from the current fetch plan onto
a stack, and makes the new plan the active one.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new fetch plan</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1.0</dd>
</dl>
</li>
</ul>
<a id="popFetchPlan()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>popFetchPlan</h4>
<pre class="methodSignature">void&nbsp;popFetchPlan()</pre>
<div class="block">Pops the fetch plan from the top of the stack, making the next one down
the active one. This returns void to avoid confusion, since fetch plans
tend to be used in method-chaining patterns often.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1.0</dd>
</dl>
</li>
</ul>
<a id="getConnectionRetainMode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionRetainMode</h4>
<pre class="methodSignature"><a href="ConnectionRetainMode.html" title="enum in org.apache.openjpa.persistence">ConnectionRetainMode</a>&nbsp;getConnectionRetainMode()</pre>
<div class="block">Return the connection retain mode for this entity manager.</div>
</li>
</ul>
<a id="isTransactionManaged()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isTransactionManaged</h4>
<pre class="methodSignature">boolean&nbsp;isTransactionManaged()</pre>
<div class="block">Whether this entity manager is using managed transactions.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1.0</dd>
</dl>
</li>
</ul>
<a id="isManaged()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isManaged</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
boolean&nbsp;isManaged()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#isTransactionManaged()"><code>isTransactionManaged()</code></a> instead to interrogate
whether or not this EntityManager's transaction is managed. To determine
if a given entity instance is managed, use <code>EntityManager.contains(java.lang.Object)</code>.</div>
</div>
</li>
</ul>
<a id="getSyncWithManagedTransactions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSyncWithManagedTransactions</h4>
<pre class="methodSignature">boolean&nbsp;getSyncWithManagedTransactions()</pre>
<div class="block">Whether to check for a global transaction upon every managed,
non-transactional operation. Defaults to false.</div>
</li>
</ul>
<a id="setSyncWithManagedTransactions(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSyncWithManagedTransactions</h4>
<pre class="methodSignature">void&nbsp;setSyncWithManagedTransactions&#8203;(boolean&nbsp;resync)</pre>
<div class="block">Whether to check for a global transaction upon every managed,
non-transactional operation. Defaults to false.</div>
</li>
</ul>
<a id="getClassLoader()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassLoader</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassLoader</a>&nbsp;getClassLoader()</pre>
<div class="block">Return the current thread's class loader at the time this entity
manager was obtained from the factory.</div>
</li>
</ul>
<a id="getConnectionUserName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionUserName</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getConnectionUserName()</pre>
<div class="block">Return the connection user name.</div>
</li>
</ul>
<a id="getConnectionPassword()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionPassword</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getConnectionPassword()</pre>
<div class="block">Return the connection password.</div>
</li>
</ul>
<a id="getMultithreaded()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMultithreaded</h4>
<pre class="methodSignature">boolean&nbsp;getMultithreaded()</pre>
<div class="block">Whether the entity manager or its managed instances are used in a
multithreaded environment.</div>
</li>
</ul>
<a id="setMultithreaded(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMultithreaded</h4>
<pre class="methodSignature">void&nbsp;setMultithreaded&#8203;(boolean&nbsp;multi)</pre>
<div class="block">Whether the entity manager or its managed instances are used in a
multithreaded environment.</div>
</li>
</ul>
<a id="getIgnoreChanges()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIgnoreChanges</h4>
<pre class="methodSignature">boolean&nbsp;getIgnoreChanges()</pre>
<div class="block">Whether to take into account changes in the transaction when executing
a query or iterating an extent.</div>
</li>
</ul>
<a id="setIgnoreChanges(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIgnoreChanges</h4>
<pre class="methodSignature">void&nbsp;setIgnoreChanges&#8203;(boolean&nbsp;ignore)</pre>
<div class="block">Whether to take into account changes in the transaction when executing
a query or iterating an extent.</div>
</li>
</ul>
<a id="getNontransactionalRead()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNontransactionalRead</h4>
<pre class="methodSignature">boolean&nbsp;getNontransactionalRead()</pre>
<div class="block">Whether to allow nontransactional access to persistent state.</div>
</li>
</ul>
<a id="setNontransactionalRead(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNontransactionalRead</h4>
<pre class="methodSignature">void&nbsp;setNontransactionalRead&#8203;(boolean&nbsp;read)</pre>
<div class="block">Whether to allow nontransactional access to persistent state.</div>
</li>
</ul>
<a id="getNontransactionalWrite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNontransactionalWrite</h4>
<pre class="methodSignature">boolean&nbsp;getNontransactionalWrite()</pre>
<div class="block">Whether to allow nontransactional changes to persistent state.</div>
</li>
</ul>
<a id="setNontransactionalWrite(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNontransactionalWrite</h4>
<pre class="methodSignature">void&nbsp;setNontransactionalWrite&#8203;(boolean&nbsp;write)</pre>
<div class="block">Whether to allow nontransactional changes to persistent state.</div>
</li>
</ul>
<a id="getOptimistic()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOptimistic</h4>
<pre class="methodSignature">boolean&nbsp;getOptimistic()</pre>
<div class="block">Whether to use optimistic transactional semantics.</div>
</li>
</ul>
<a id="setOptimistic(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOptimistic</h4>
<pre class="methodSignature">void&nbsp;setOptimistic&#8203;(boolean&nbsp;opt)</pre>
<div class="block">Whether to use optimistic transactional semantics.</div>
</li>
</ul>
<a id="getRestoreState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRestoreState</h4>
<pre class="methodSignature"><a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence">RestoreStateType</a>&nbsp;getRestoreState()</pre>
<div class="block">Whether to restore an object's original state on rollback.</div>
</li>
</ul>
<a id="setRestoreState(org.apache.openjpa.persistence.RestoreStateType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRestoreState</h4>
<pre class="methodSignature">void&nbsp;setRestoreState&#8203;(<a href="RestoreStateType.html" title="enum in org.apache.openjpa.persistence">RestoreStateType</a>&nbsp;restoreType)</pre>
<div class="block">Whether to restore an object's original state on rollback.</div>
</li>
</ul>
<a id="getRetainState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRetainState</h4>
<pre class="methodSignature">boolean&nbsp;getRetainState()</pre>
<div class="block">Whether objects retain their persistent state on transaction commit.</div>
</li>
</ul>
<a id="setRetainState(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRetainState</h4>
<pre class="methodSignature">void&nbsp;setRetainState&#8203;(boolean&nbsp;retain)</pre>
<div class="block">Whether objects retain their persistent state on transaction commit.</div>
</li>
</ul>
<a id="getDetachState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDetachState</h4>
<pre class="methodSignature"><a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence">DetachStateType</a>&nbsp;getDetachState()</pre>
<div class="block">Detach mode constant to determine which fields are part of the
detached graph.</div>
</li>
</ul>
<a id="setDetachState(org.apache.openjpa.persistence.DetachStateType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDetachState</h4>
<pre class="methodSignature">void&nbsp;setDetachState&#8203;(<a href="DetachStateType.html" title="enum in org.apache.openjpa.persistence">DetachStateType</a>&nbsp;type)</pre>
<div class="block">Detach mode constant to determine which fields are part of the
detached graph.</div>
</li>
</ul>
<a id="getAutoClear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAutoClear</h4>
<pre class="methodSignature"><a href="AutoClearType.html" title="enum in org.apache.openjpa.persistence">AutoClearType</a>&nbsp;getAutoClear()</pre>
<div class="block">Whether to clear state when entering a transaction.</div>
</li>
</ul>
<a id="setAutoClear(org.apache.openjpa.persistence.AutoClearType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoClear</h4>
<pre class="methodSignature">void&nbsp;setAutoClear&#8203;(<a href="AutoClearType.html" title="enum in org.apache.openjpa.persistence">AutoClearType</a>&nbsp;clearType)</pre>
<div class="block">Whether to clear state when entering a transaction.</div>
</li>
</ul>
<a id="getAutoDetach()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAutoDetach</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/EnumSet.html?is-external=true" title="class or interface in java.util" class="externalLink">EnumSet</a>&lt;<a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</a>&gt;&nbsp;getAutoDetach()</pre>
<div class="block"><a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> values which indicate when persistent
managed objects should be automatically detached in-place.</div>
</li>
</ul>
<a id="setAutoDetach(org.apache.openjpa.persistence.AutoDetachType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoDetach</h4>
<pre class="methodSignature">void&nbsp;setAutoDetach&#8203;(<a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</a>&nbsp;value)</pre>
<div class="block"><a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> values which indicate when persistent
managed objects should be automatically detached in-place.
The current value is replaced in its entirety.</div>
</li>
</ul>
<a id="setAutoDetach(java.util.EnumSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoDetach</h4>
<pre class="methodSignature">void&nbsp;setAutoDetach&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/EnumSet.html?is-external=true" title="class or interface in java.util" class="externalLink">EnumSet</a>&lt;<a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</a>&gt;&nbsp;values)</pre>
<div class="block"><a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> values which indicate when persistent
managed objects should be automatically detached in-place.
The current value is replaced in its entirety.</div>
</li>
</ul>
<a id="setAutoDetach(org.apache.openjpa.persistence.AutoDetachType,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoDetach</h4>
<pre class="methodSignature">void&nbsp;setAutoDetach&#8203;(<a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence">AutoDetachType</a>&nbsp;value,
boolean&nbsp;on)</pre>
<div class="block">Bit flags marked in <a href="AutoDetachType.html" title="enum in org.apache.openjpa.persistence"><code>AutoDetachType</code></a> which indicate when persistent
managed objects should be automatically detached in-place.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1.0</dd>
</dl>
</li>
</ul>
<a id="getEvictFromStoreCache()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEvictFromStoreCache</h4>
<pre class="methodSignature">boolean&nbsp;getEvictFromStoreCache()</pre>
<div class="block">Whether to also evict an object from the store cache when it is
evicted through this entity manager.</div>
</li>
</ul>
<a id="setEvictFromStoreCache(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEvictFromStoreCache</h4>
<pre class="methodSignature">void&nbsp;setEvictFromStoreCache&#8203;(boolean&nbsp;evict)</pre>
<div class="block">Whether to also evict an object from the store cache when it is
evicted through this entity manager.</div>
</li>
</ul>
<a id="getPopulateStoreCache()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPopulateStoreCache</h4>
<pre class="methodSignature">boolean&nbsp;getPopulateStoreCache()</pre>
<div class="block">Whether objects accessed during this transaction will be added to the
store cache. Defaults to true.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>0.3.4</dd>
</dl>
</li>
</ul>
<a id="setPopulateStoreCache(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPopulateStoreCache</h4>
<pre class="methodSignature">void&nbsp;setPopulateStoreCache&#8203;(boolean&nbsp;cache)</pre>
<div class="block">Whether to populate the store cache with objects used by this
transaction. Defaults to true.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>0.3.4</dd>
</dl>
</li>
</ul>
<a id="isTrackChangesByType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isTrackChangesByType</h4>
<pre class="methodSignature">boolean&nbsp;isTrackChangesByType()</pre>
<div class="block">Whether memory usage is reduced during this transaction at the expense
of tracking changes at the type level instead of the instance level,
resulting in more aggressive cache invalidation.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.0.0</dd>
</dl>
</li>
</ul>
<a id="setTrackChangesByType(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTrackChangesByType</h4>
<pre class="methodSignature">void&nbsp;setTrackChangesByType&#8203;(boolean&nbsp;track)</pre>
<div class="block">If a large number of objects will be created, modified, or deleted
during this transaction setting this option to true will reduce memory
usage if you perform periodic flushes by tracking changes at the type
level instead of the instance level, resulting in more aggressive cache
invalidation.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.0.0</dd>
</dl>
</li>
</ul>
<a id="putUserObject(java.lang.Object,java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putUserObject</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;putUserObject&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;key,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;val)</pre>
<div class="block">Put the specified key-value pair into the map of user objects. Use
a value of null to remove the key.</div>
</li>
</ul>
<a id="getUserObject(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserObject</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;getUserObject&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;key)</pre>
<div class="block">Get the value for the specified key from the map of user objects.</div>
</li>
</ul>
<a id="findAll(java.lang.Class,java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAll</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;T[]&nbsp;findAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;oids)</pre>
<div class="block">Return the objects with the given oids.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>oids</code> - the oids of the objects to return</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the objects that were looked up, in the
same order as the oids parameter.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>EntityManager.find(Class,Object)</code></dd>
</dl>
</li>
</ul>
<a id="findAll(java.lang.Class,java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAll</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;T&gt;&nbsp;findAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;oids)</pre>
<div class="block">Return the objects with the given oids.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>oids</code> - the oids of the objects to return</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the objects that were looked up, in the
same order as the oids parameter.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>EntityManager.find(Class,Object)</code></dd>
</dl>
</li>
</ul>
<a id="findCached(java.lang.Class,java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findCached</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;T&nbsp;findCached&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;oid)</pre>
<div class="block">Return the cached instance for the given oid/object, or null if not
cached.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>oid</code> - the object's id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the cached object, or null if not cached</dd>
</dl>
</li>
</ul>
<a id="getObjectIdClass(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectIdClass</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;getObjectIdClass&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;pcClass)</pre>
<div class="block">Return the application identity class the given persistent class uses
for object ids, or null if not a type that uses application identity.</div>
</li>
</ul>
<a id="getTransaction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransaction</h4>
<pre class="methodSignature"><a href="OpenJPAEntityTransaction.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityTransaction</a>&nbsp;getTransaction()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getTransaction</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
</dl>
</li>
</ul>
<a id="setSavepoint(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSavepoint</h4>
<pre class="methodSignature">void&nbsp;setSavepoint&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</pre>
<div class="block">Set a transactional savepoint where operations after this savepoint
will be rolled back.</div>
</li>
</ul>
<a id="rollbackToSavepoint()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rollbackToSavepoint</h4>
<pre class="methodSignature">void&nbsp;rollbackToSavepoint()</pre>
<div class="block">Rollback the current transaction to the last savepoint.
Savepoints set after this one will become invalid.</div>
</li>
</ul>
<a id="rollbackToSavepoint(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rollbackToSavepoint</h4>
<pre class="methodSignature">void&nbsp;rollbackToSavepoint&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</pre>
<div class="block">Rollback the current transaction to the given savepoint name.
Savepoints set after this one will become invalid.</div>
</li>
</ul>
<a id="releaseSavepoint()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>releaseSavepoint</h4>
<pre class="methodSignature">void&nbsp;releaseSavepoint()</pre>
<div class="block">Release the last set savepoint and any resources associated with it.
The given savepoint and any set after it will become invalid.</div>
</li>
</ul>
<a id="releaseSavepoint(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>releaseSavepoint</h4>
<pre class="methodSignature">void&nbsp;releaseSavepoint&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</pre>
<div class="block">Release the savepoint and any resources associated with it.
The given savepoint and any set after it will become invalid.</div>
</li>
</ul>
<a id="preFlush()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>preFlush</h4>
<pre class="methodSignature">void&nbsp;preFlush()</pre>
<div class="block">Run pre-flush actions on transactional objects, including
persistence-by-reachability, inverse relationship management,
deletion of dependent instances, and instance callbacks.
Transaction listeners are not invoked.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>0.3.3</dd>
</dl>
</li>
</ul>
<a id="validateChanges()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateChanges</h4>
<pre class="methodSignature">void&nbsp;validateChanges()</pre>
<div class="block">Validate the changes made in this transaction, reporting any optimistic
violations, constraint violations, etc. In a datastore transaction or
a flushed optimistic transaction, this method will act just like
<code>EntityManager.flush()</code>. In an optimistic transaction that has not yet begun a
datastore-level transaction, however, it will only report exceptions
that would occur on flush, without retaining any datastore resources.</div>
</li>
</ul>
<a id="isStoreActive()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStoreActive</h4>
<pre class="methodSignature">boolean&nbsp;isStoreActive()</pre>
<div class="block">Whether a store transaction is active.</div>
</li>
</ul>
<a id="beginStore()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beginStore</h4>
<pre class="methodSignature">void&nbsp;beginStore()</pre>
<div class="block">Begins a store transaction if one isn't already started. The
entity manager must already be in a logical transaction.</div>
</li>
</ul>
<a id="containsAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsAll</h4>
<pre class="methodSignature">boolean&nbsp;containsAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Whether the given objects are managed.</div>
</li>
</ul>
<a id="containsAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsAll</h4>
<pre class="methodSignature">boolean&nbsp;containsAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Whether the given objects are managed.</div>
</li>
</ul>
<a id="persistAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>persistAll</h4>
<pre class="methodSignature">void&nbsp;persistAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Persist the given objects.</div>
</li>
</ul>
<a id="persistAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>persistAll</h4>
<pre class="methodSignature">void&nbsp;persistAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Persist the given objects.</div>
</li>
</ul>
<a id="removeAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre class="methodSignature">void&nbsp;removeAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Delete the given persistent objects.</div>
</li>
</ul>
<a id="removeAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre class="methodSignature">void&nbsp;removeAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Delete the given persistent objects.</div>
</li>
</ul>
<a id="release(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>release</h4>
<pre class="methodSignature">void&nbsp;release&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</pre>
<div class="block">Release the given object from management. This operation is not
recursive.</div>
</li>
</ul>
<a id="releaseAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>releaseAll</h4>
<pre class="methodSignature">void&nbsp;releaseAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Release the given object from management. This operation is not
recursive.</div>
</li>
</ul>
<a id="releaseAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>releaseAll</h4>
<pre class="methodSignature">void&nbsp;releaseAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Release the given objects from management. This operation is not
recursive.</div>
</li>
</ul>
<a id="retrieve(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retrieve</h4>
<pre class="methodSignature">void&nbsp;retrieve&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</pre>
<div class="block">Immediately load the given object's persistent fields. One might
use this action to make sure that an instance's fields are loaded
before transitioning it to transient. Note that this action is not
recursive. Any related objects that are loaded will not necessarily
have their fields loaded.</div>
</li>
</ul>
<a id="retrieveAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retrieveAll</h4>
<pre class="methodSignature">void&nbsp;retrieveAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Retrieve the persistent state of the given objects.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#retrieve(java.lang.Object)"><code>retrieve(java.lang.Object)</code></a></dd>
</dl>
</li>
</ul>
<a id="retrieveAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retrieveAll</h4>
<pre class="methodSignature">void&nbsp;retrieveAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Retrieve the persistent state of the given objects.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#retrieve(java.lang.Object)"><code>retrieve(java.lang.Object)</code></a></dd>
</dl>
</li>
</ul>
<a id="refreshAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshAll</h4>
<pre class="methodSignature">void&nbsp;refreshAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Refresh the state of the given objects.</div>
</li>
</ul>
<a id="refreshAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshAll</h4>
<pre class="methodSignature">void&nbsp;refreshAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Refresh the state of the given objects.</div>
</li>
</ul>
<a id="refreshAll()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshAll</h4>
<pre class="methodSignature">void&nbsp;refreshAll()</pre>
<div class="block">Refresh all transactional objects.</div>
</li>
</ul>
<a id="evict(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evict</h4>
<pre class="methodSignature">void&nbsp;evict&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</pre>
<div class="block"><P> Evict the given object.</P>
<P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer
needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only
affects objects which are managed and unmodified.
</P></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pc</code> - A persistent class which will be evicted</dd>
</dl>
</li>
</ul>
<a id="evictAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evictAll</h4>
<pre class="methodSignature">void&nbsp;evictAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block"><P>Evict the given objects.</P>
<P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer
needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only
affects objects which are managed and unmodified.
</P></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pcs</code> - The persistent classes which will be evicted</dd>
</dl>
</li>
</ul>
<a id="evictAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evictAll</h4>
<pre class="methodSignature">void&nbsp;evictAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block"><P>Evict the given objects.</P>
<P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer
needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only
affects objects which are managed and unmodified.
</P></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pcs</code> - A collection of persistent classes which will be evicted.</dd>
</dl>
</li>
</ul>
<a id="evictAll()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evictAll</h4>
<pre class="methodSignature">void&nbsp;evictAll()</pre>
<div class="block"><P>Evict all clean objects.</P>
<P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer
needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only
affects objects which are managed and unmodified.
</P></div>
</li>
</ul>
<a id="evictAll(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evictAll</h4>
<pre class="methodSignature">void&nbsp;evictAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;cls)</pre>
<div class="block"><P>Evict all persistent-clean and persistent-nontransactional
instances in the extent of the given class (including subclasses).</P>
<P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer
needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only
affects objects which are managed and unmodified.
</P></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cls</code> - All clean instances of this class will be evicted.</dd>
</dl>
</li>
</ul>
<a id="evictAll(org.apache.openjpa.persistence.Extent)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evictAll</h4>
<pre class="methodSignature">void&nbsp;evictAll&#8203;(<a href="Extent.html" title="interface in org.apache.openjpa.persistence">Extent</a>&nbsp;extent)</pre>
<div class="block"><P>Evict all persistent-clean and persistent-nontransactional
instances in the given <a href="Extent.html" title="interface in org.apache.openjpa.persistence"><code>Extent</code></a>.</P>
<P> Eviction acts as a hint to the persistence provider, and indicates that the persistent object is no longer
needed by the application and may be garbage collected. It does not remove the object from the L1 cache and only
affects objects which are managed and unmodified.
</P></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>extent</code> - Extend which contains the persistent classes to evict.</dd>
</dl>
</li>
</ul>
<a id="detachCopy(java.lang.Object)">
<!-- -->
</a><a id="detachCopy(T)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>detachCopy</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;T&nbsp;detachCopy&#8203;(T&nbsp;pc)</pre>
<div class="block">Detach the specified object from the entity manager, detaching based on
the AutoDetach value specified and returning a copy of the detached
entity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pc</code> - the instance to detach</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the detached instance</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0.0
Note: This method provides the same contract as the detach method with
signature: public <T> T detach(T pc) available in the 1.x release of
OpenJPA. The JPA 2.0 specification defined a method with an incompatible
signature and different semantics. The specification defined method
trumped the existing method.</dd>
</dl>
</li>
</ul>
<a id="detachAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>detachAll</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;detachAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Detach the specified objects from the entity manager.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pcs</code> - the instances to detach</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the detached instances</dd>
</dl>
</li>
</ul>
<a id="detachAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>detachAll</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;detachAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Detach the specified objects from the entity manager.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pcs</code> - the instances to detach</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the detached instances</dd>
</dl>
</li>
</ul>
<a id="mergeAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeAll</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;mergeAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Merge the specified objects into the entity manager.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pcs</code> - instances to import</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the re-attached instances</dd>
</dl>
</li>
</ul>
<a id="mergeAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeAll</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;mergeAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Merge the specified detached objects into the entity manager.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pcs</code> - Collection of instances to import</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the re-attached instances</dd>
</dl>
</li>
</ul>
<a id="transactional(java.lang.Object,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transactional</h4>
<pre class="methodSignature">void&nbsp;transactional&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc,
boolean&nbsp;updateVersion)</pre>
<div class="block">Make the given object transactional.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pc</code> - instance to make transactional</dd>
<dd><code>updateVersion</code> - if true, the instance's version will be
incremented at the next flush</dd>
</dl>
</li>
</ul>
<a id="transactionalAll(java.util.Collection,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transactionalAll</h4>
<pre class="methodSignature">void&nbsp;transactionalAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;objs,
boolean&nbsp;updateVersion)</pre>
<div class="block">Make the given objects transactional.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>objs</code> - instances to make transactional</dd>
<dd><code>updateVersion</code> - if true, the instance's version will be
incremented at the next flush</dd>
</dl>
</li>
</ul>
<a id="transactionalAll(java.lang.Object[],boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transactionalAll</h4>
<pre class="methodSignature">void&nbsp;transactionalAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;objs,
boolean&nbsp;updateVersion)</pre>
<div class="block">Make the given objects transactional.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>objs</code> - instances to make transactional</dd>
<dd><code>updateVersion</code> - if true, the instance's version will be
incremented at the next flush</dd>
</dl>
</li>
</ul>
<a id="nontransactional(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nontransactional</h4>
<pre class="methodSignature">void&nbsp;nontransactional&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</pre>
<div class="block">Make the given object nontransactional.</div>
</li>
</ul>
<a id="nontransactionalAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nontransactionalAll</h4>
<pre class="methodSignature">void&nbsp;nontransactionalAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;objs)</pre>
<div class="block">Make the given objects nontransactional.</div>
</li>
</ul>
<a id="nontransactionalAll(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nontransactionalAll</h4>
<pre class="methodSignature">void&nbsp;nontransactionalAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;objs)</pre>
<div class="block">Make the given objects nontransactional.</div>
</li>
</ul>
<a id="getNamedGenerator(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNamedGenerator</h4>
<pre class="methodSignature"><a href="Generator.html" title="interface in org.apache.openjpa.persistence">Generator</a>&nbsp;getNamedGenerator&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</pre>
<div class="block">Return the named generator defined in the metadata.</div>
</li>
</ul>
<a id="getIdGenerator(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIdGenerator</h4>
<pre class="methodSignature"><a href="Generator.html" title="interface in org.apache.openjpa.persistence">Generator</a>&nbsp;getIdGenerator&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;forClass)</pre>
<div class="block">Returns a <a href="Generator.html" title="interface in org.apache.openjpa.persistence"><code>Generator</code></a> for the datastore identity values of the
specified type, or null if the type is unmanaged or its identity
cannot be represented by a sequence.</div>
</li>
</ul>
<a id="getFieldGenerator(java.lang.Class,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldGenerator</h4>
<pre class="methodSignature"><a href="Generator.html" title="interface in org.apache.openjpa.persistence">Generator</a>&nbsp;getFieldGenerator&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;forClass,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;fieldName)</pre>
<div class="block">Returns a <a href="Generator.html" title="interface in org.apache.openjpa.persistence"><code>Generator</code></a> for the generated values of the specified
type, or null if the field is not generated.</div>
</li>
</ul>
<a id="createExtent(java.lang.Class,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createExtent</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="Extent.html" title="interface in org.apache.openjpa.persistence">Extent</a>&lt;T&gt;&nbsp;createExtent&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls,
boolean&nbsp;subs)</pre>
<div class="block">Return an extent of the given class, optionally including subclasses.</div>
</li>
</ul>
<a id="createQuery(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createQuery</h4>
<pre class="methodSignature"><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;createQuery&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;query)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>createQuery</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
</dl>
</li>
</ul>
<a id="createNamedQuery(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNamedQuery</h4>
<pre class="methodSignature"><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;createNamedQuery&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>createNamedQuery</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
</dl>
</li>
</ul>
<a id="createNativeQuery(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNativeQuery</h4>
<pre class="methodSignature"><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;createNativeQuery&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sql)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>createNativeQuery</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
</dl>
</li>
</ul>
<a id="createNativeQuery(java.lang.String,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNativeQuery</h4>
<pre class="methodSignature"><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;createNativeQuery&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sql,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;resultClass)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>createNativeQuery</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
</dl>
</li>
</ul>
<a id="createNativeQuery(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNativeQuery</h4>
<pre class="methodSignature"><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;createNativeQuery&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sql,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;resultMapping)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>createNativeQuery</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
</dl>
</li>
</ul>
<a id="createQuery(jakarta.persistence.Query)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createQuery</h4>
<pre class="methodSignature"><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;createQuery&#8203;(jakarta.persistence.Query&nbsp;query)</pre>
<div class="block">Create a new query from the given one.</div>
</li>
</ul>
<a id="createQuery(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createQuery</h4>
<pre class="methodSignature"><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;createQuery&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;language,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;query)</pre>
<div class="block">Create a new query in the given language.</div>
</li>
</ul>
<a id="createDynamicQuery(org.apache.openjpa.persistence.query.QueryDefinition)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDynamicQuery</h4>
<pre class="methodSignature"><a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;createDynamicQuery&#8203;(<a href="query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</a>&nbsp;dynamic)</pre>
<div class="block">Create an executable query from a dynamically defined query.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0.0</dd>
</dl>
</li>
</ul>
<a id="getLockMode(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLockMode</h4>
<pre class="methodSignature">jakarta.persistence.LockModeType&nbsp;getLockMode&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</pre>
<div class="block">Return the lock mode of the given instance, or null if not locked.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getLockMode</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
</dl>
</li>
</ul>
<a id="lock(java.lang.Object,jakarta.persistence.LockModeType,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lock</h4>
<pre class="methodSignature">void&nbsp;lock&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc,
jakarta.persistence.LockModeType&nbsp;mode,
int&nbsp;timeout)</pre>
<div class="block">Ensure that the given instance is locked at the given lock level.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pc</code> - the object to lock</dd>
<dd><code>mode</code> - the lock level to use</dd>
<dd><code>timeout</code> - the number of milliseconds to wait for the lock before
giving up, or -1 for no limit</dd>
</dl>
</li>
</ul>
<a id="lock(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lock</h4>
<pre class="methodSignature">void&nbsp;lock&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;pc)</pre>
<div class="block">Ensure that the given instance is locked at the current lock level, as
set in the <a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence"><code>FetchPlan</code></a> for the entity manager.</div>
</li>
</ul>
<a id="lockAll(java.util.Collection,jakarta.persistence.LockModeType,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lockAll</h4>
<pre class="methodSignature">void&nbsp;lockAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs,
jakarta.persistence.LockModeType&nbsp;mode,
int&nbsp;timeout)</pre>
<div class="block">Ensure that the given instances are locked at the given lock level.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pcs</code> - the objects to lock</dd>
<dd><code>mode</code> - the lock level to use</dd>
<dd><code>timeout</code> - the number of milliseconds to wait for the lock before
giving up, or -1 for no limit</dd>
</dl>
</li>
</ul>
<a id="lockAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lockAll</h4>
<pre class="methodSignature">void&nbsp;lockAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;pcs)</pre>
<div class="block">Ensure that the given instances are locked at the current lock level,
as set in the <a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence"><code>FetchPlan</code></a> for the entity manager.</div>
</li>
</ul>
<a id="lockAll(java.lang.Object[],jakarta.persistence.LockModeType,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lockAll</h4>
<pre class="methodSignature">void&nbsp;lockAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]&nbsp;pcs,
jakarta.persistence.LockModeType&nbsp;mode,
int&nbsp;timeout)</pre>
<div class="block">Ensure that the given instances are locked at the given lock level.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pcs</code> - the objects to lock</dd>
<dd><code>mode</code> - the lock level to use</dd>
<dd><code>timeout</code> - the number of milliseconds to wait for the lock before
giving up, or -1 for no limit</dd>
</dl>
</li>
</ul>
<a id="lockAll(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lockAll</h4>
<pre class="methodSignature">void&nbsp;lockAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>...&nbsp;pcs)</pre>
<div class="block">Ensure that the given instances are locked at the current lock level,
as set in the <a href="FetchPlan.html" title="interface in org.apache.openjpa.persistence"><code>FetchPlan</code></a> for the entity manager.</div>
</li>
</ul>
<a id="cancelAll()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cancelAll</h4>
<pre class="methodSignature">boolean&nbsp;cancelAll()</pre>
<div class="block">Cancel all pending data store statements. If statements are cancelled
while a flush is in progress, the transaction rollback only flag will
be set.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if any statements were cancelled, false otherwise</dd>
</dl>
</li>
</ul>
<a id="getConnection()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnection</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;getConnection()</pre>
<div class="block">Return the connection in use by the entity manager, or a new
connection if none.</div>
</li>
</ul>
<a id="getManagedObjects()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getManagedObjects</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;getManagedObjects()</pre>
<div class="block">Return a set of all managed instances.</div>
</li>
</ul>
<a id="getTransactionalObjects()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransactionalObjects</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;getTransactionalObjects()</pre>
<div class="block">Return a set of current transaction instances.</div>
</li>
</ul>
<a id="getPendingTransactionalObjects()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPendingTransactionalObjects</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;getPendingTransactionalObjects()</pre>
<div class="block">Return a set of instances which will become transactional upon
the next transaction.</div>
</li>
</ul>
<a id="getDirtyObjects()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirtyObjects</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&nbsp;getDirtyObjects()</pre>
<div class="block">Return a set of current dirty instances.</div>
</li>
</ul>
<a id="getOrderDirtyObjects()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrderDirtyObjects</h4>
<pre class="methodSignature">boolean&nbsp;getOrderDirtyObjects()</pre>
<div class="block">Whether dirty objects will be returned in the order they were dirtied.
Default is determined by the store manager.</div>
</li>
</ul>
<a id="setOrderDirtyObjects(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOrderDirtyObjects</h4>
<pre class="methodSignature">void&nbsp;setOrderDirtyObjects&#8203;(boolean&nbsp;order)</pre>
<div class="block">Whether dirty objects will be returned in the order they were dirtied.
Default is determined by the store manager.</div>
</li>
</ul>
<a id="dirtyClass(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dirtyClass</h4>
<pre class="methodSignature">void&nbsp;dirtyClass&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&nbsp;cls)</pre>
<div class="block">Mark the given class as dirty within the current transaction.</div>
</li>
</ul>
<a id="getPersistedClasses()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPersistedClasses</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&gt;&nbsp;getPersistedClasses()</pre>
<div class="block">Return the set of classes that have been made persistent in the current
transaction.</div>
</li>
</ul>
<a id="getRemovedClasses()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRemovedClasses</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&gt;&nbsp;getRemovedClasses()</pre>
<div class="block">Return the set of classes that have been deleted in the current
transaction.</div>
</li>
</ul>
<a id="getUpdatedClasses()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUpdatedClasses</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&gt;&nbsp;getUpdatedClasses()</pre>
<div class="block">Return the set of classes for objects that have been modified
in the current transaction.</div>
</li>
</ul>
<a id="createInstance(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createInstance</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;T&nbsp;createInstance&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;cls)</pre>
<div class="block">Create a new instance of type <code>cls</code>. If <code>cls</code> is
an interface or an abstract class whose abstract methods follow the
JavaBeans convention, this method will create a concrete implementation
according to the metadata that defines the class. If <code>cls</code>
is a non-final concrete type that has metadata but does not implement
<a href="../enhance/PersistenceCapable.html" title="interface in org.apache.openjpa.enhance"><code>PersistenceCapable</code></a>, this method will
create a subclass of the type that does implement
<a href="../enhance/PersistenceCapable.html" title="interface in org.apache.openjpa.enhance"><code>PersistenceCapable</code></a>, and will attempt
to redefine the methods in <code>cls</code> to enable persistent
attribute tracking. Otherwise, if <code>cls</code> is a managed type,
this will return an instance of the specified class.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if <code>cls</code> is not a managed
type or interface.</dd>
</dl>
</li>
</ul>
<a id="dirty(java.lang.Object,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dirty</h4>
<pre class="methodSignature">void&nbsp;dirty&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;field)</pre>
<div class="block">Make the named field of the given object dirty.</div>
</li>
</ul>
<a id="getObjectId(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectId</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;getObjectId&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block">Return the oid of the given instance.</div>
</li>
</ul>
<a id="isDirty(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDirty</h4>
<pre class="methodSignature">boolean&nbsp;isDirty&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block">Return whether the given object is dirty.</div>
</li>
</ul>
<a id="isTransactional(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isTransactional</h4>
<pre class="methodSignature">boolean&nbsp;isTransactional&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block">Return whether the given object is transactional.</div>
</li>
</ul>
<a id="isPersistent(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPersistent</h4>
<pre class="methodSignature">boolean&nbsp;isPersistent&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block">Return whether the given object is persistent.</div>
</li>
</ul>
<a id="isNewlyPersistent(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNewlyPersistent</h4>
<pre class="methodSignature">boolean&nbsp;isNewlyPersistent&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block">Return whether the given object was made persistent in the current
transaction.</div>
</li>
</ul>
<a id="isRemoved(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRemoved</h4>
<pre class="methodSignature">boolean&nbsp;isRemoved&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block">Return whether the given object is deleted.</div>
</li>
</ul>
<a id="isDetached(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDetached</h4>
<pre class="methodSignature">boolean&nbsp;isDetached&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block">Returns <code>true</code> if <code>pc</code> is a detached object
(one that can be reattached to a <code>EntityManager</code> via a call
to <code>EntityManager.merge(T)</code>); otherwise returns
<code>false</code>.</div>
</li>
</ul>
<a id="getVersion(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;getVersion&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;o)</pre>
<div class="block">Returns the current version indicator for <code>o</code>.</div>
</li>
</ul>
<a id="getConfiguration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
<a href="../conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</a>&nbsp;getConfiguration()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="setRestoreState(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRestoreState</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setRestoreState&#8203;(int&nbsp;restore)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setRestoreState(org.apache.openjpa.persistence.RestoreStateType)"><code>setRestoreState(RestoreStateType)</code></a> instead.</div>
</div>
</li>
</ul>
<a id="setDetachState(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDetachState</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setDetachState&#8203;(int&nbsp;detach)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setDetachState(org.apache.openjpa.persistence.DetachStateType)"><code>setDetachState(DetachStateType)</code></a> instead.</div>
</div>
</li>
</ul>
<a id="setAutoClear(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoClear</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setAutoClear&#8203;(int&nbsp;autoClear)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setAutoClear(org.apache.openjpa.persistence.AutoClearType)"><code>setAutoClear(AutoClearType)</code></a> instead.</div>
</div>
</li>
</ul>
<a id="setAutoDetach(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoDetach</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setAutoDetach&#8203;(int&nbsp;autoDetachFlags)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType)"><code>setAutoDetach(AutoDetachType)</code></a> or
<a href="#setAutoDetach(java.util.EnumSet)"><code>setAutoDetach(java.util.EnumSet)</code></a> instead.</div>
</div>
</li>
</ul>
<a id="setAutoDetach(int,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoDetach</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setAutoDetach&#8203;(int&nbsp;flag,
boolean&nbsp;on)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setAutoDetach(org.apache.openjpa.persistence.AutoDetachType,boolean)"><code>setAutoDetach(AutoDetachType, boolean)</code></a> instead.</div>
</div>
</li>
</ul>
<a id="isLargeTransaction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLargeTransaction</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
boolean&nbsp;isLargeTransaction()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#isTrackChangesByType()"><code>isTrackChangesByType()</code></a> instead.</div>
</div>
</li>
</ul>
<a id="setLargeTransaction(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLargeTransaction</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setLargeTransaction&#8203;(boolean&nbsp;value)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="#setTrackChangesByType(boolean)"><code>setTrackChangesByType(boolean)</code></a> instead.</div>
</div>
</li>
</ul>
<a id="addTransactionListener(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addTransactionListener</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;addTransactionListener&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;listener)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="removeTransactionListener(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeTransactionListener</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;removeTransactionListener&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;listener)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="getTransactionListenerCallbackMode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransactionListenerCallbackMode</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
int&nbsp;getTransactionListenerCallbackMode()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="setTransactionListenerCallbackMode(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTransactionListenerCallbackMode</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setTransactionListenerCallbackMode&#8203;(int&nbsp;callbackMode)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="addLifecycleListener(java.lang.Object,java.lang.Class...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addLifecycleListener</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;addLifecycleListener&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;listener,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>...&nbsp;classes)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="removeLifecycleListener(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeLifecycleListener</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;removeLifecycleListener&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;listener)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="getLifecycleListenerCallbackMode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLifecycleListenerCallbackMode</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
int&nbsp;getLifecycleListenerCallbackMode()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="setLifecycleListenerCallbackMode(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLifecycleListenerCallbackMode</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setLifecycleListenerCallbackMode&#8203;(int&nbsp;callbackMode)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">cast to <a href="OpenJPAEntityManagerSPI.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerSPI</code></a> instead. This
method pierces the published-API boundary, as does the SPI cast.</div>
</div>
</li>
</ul>
<a id="begin()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>begin</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;begin()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.begin()</code>
instead: <code>em.getTransaction().begin()</code></div>
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>begin</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityTransaction</code></dd>
</dl>
</li>
</ul>
<a id="commit()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commit</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;commit()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.commit()</code>
instead: <code>em.getTransaction().commit()</code></div>
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>commit</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityTransaction</code></dd>
</dl>
</li>
</ul>
<a id="rollback()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rollback</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;rollback()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.rollback()</code>
instead: <code>em.getTransaction().rollback()</code></div>
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>rollback</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityTransaction</code></dd>
</dl>
</li>
</ul>
<a id="isActive()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isActive</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
boolean&nbsp;isActive()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.isActive()</code>
instead: <code>em.getTransaction().isActive()</code></div>
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>isActive</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityTransaction</code></dd>
</dl>
</li>
</ul>
<a id="commitAndResume()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commitAndResume</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;commitAndResume()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="OpenJPAEntityTransaction.html#commitAndResume()"><code>OpenJPAEntityTransaction.commitAndResume()</code></a> instead:
<code>em.getTransaction().commitAndResume()</code></div>
</div>
</li>
</ul>
<a id="rollbackAndResume()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rollbackAndResume</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;rollbackAndResume()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="OpenJPAEntityTransaction.html#rollbackAndResume()"><code>OpenJPAEntityTransaction.rollbackAndResume()</code></a>
instead: <code>em.getTransaction().rollbackAndResume()</code></div>
</div>
</li>
</ul>
<a id="setRollbackOnly()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRollbackOnly</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setRollbackOnly()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.setRollbackOnly()</code>
instead: <code>em.getTransaction().setRollbackOnly()</code></div>
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>setRollbackOnly</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityTransaction</code></dd>
</dl>
</li>
</ul>
<a id="setRollbackOnly(java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRollbackOnly</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
void&nbsp;setRollbackOnly&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;cause)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="OpenJPAEntityTransaction.html#setRollbackOnly(java.lang.Throwable)"><code>OpenJPAEntityTransaction.setRollbackOnly(java.lang.Throwable)</code></a>
instead: <code>em.getTransaction().setRollbackOnly()</code></div>
</div>
</li>
</ul>
<a id="getRollbackCause()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRollbackCause</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a>&nbsp;getRollbackCause()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="OpenJPAEntityTransaction.html#getRollbackCause()"><code>OpenJPAEntityTransaction.getRollbackCause()</code></a>
instead: <code>em.getTransaction().getRollbackCause()</code></div>
</div>
</li>
</ul>
<a id="getRollbackOnly()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRollbackOnly</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
boolean&nbsp;getRollbackOnly()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <code>EntityTransaction.getRollbackOnly()</code>
instead: <code>em.getTransaction().getRollbackOnly()</code></div>
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getRollbackOnly</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityTransaction</code></dd>
</dl>
</li>
</ul>
<a id="getCriteriaBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCriteriaBuilder</h4>
<pre class="methodSignature"><a href="criteria/OpenJPACriteriaBuilder.html" title="interface in org.apache.openjpa.persistence.criteria">OpenJPACriteriaBuilder</a>&nbsp;getCriteriaBuilder()</pre>
<div class="block">Gets the QueryBuilder with OpenJPA-extended capabilities.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getCriteriaBuilder</code>&nbsp;in interface&nbsp;<code>jakarta.persistence.EntityManager</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0.0</dd>
</dl>
</li>
</ul>
<a id="getSupportedProperties()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getSupportedProperties</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;getSupportedProperties()</pre>
<div class="block">Get the properties supported by this runtime.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0.0</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OpenJPAEntityManager.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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>Constr&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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2006&#x2013;2025 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>