blob: 97666d35a62f78dd84c66038a63ebd8d6b3cd991 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang>
<head>
<!-- Generated by javadoc -->
<title>OpenJPAPersistence (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="OpenJPAPersistence (OpenJPA Parent POM 4.1.1 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":41,"i8":41,"i9":9,"i10":9,"i11":9,"i12":41,"i13":41,"i14":41,"i15":9,"i16":41,"i17":41,"i18":41,"i19":41,"i20":41,"i21":41,"i22":41};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete 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/OpenJPAPersistence.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><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a 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="Class OpenJPAPersistence" class="title">Class OpenJPAPersistence</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><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">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.openjpa.persistence.OpenJPAPersistence</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">OpenJPAPersistence</span>
extends <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></pre>
<div class="block">Static helper methods for JPA users.</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 <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="#EM_KEY">EM_KEY</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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="#EMF_KEY">EMF_KEY</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">OpenJPAPersistence</a></span>()</code></th>
<td class="colLast">&nbsp;</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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="OpenJPAEntityManager.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManager</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cast(jakarta.persistence.EntityManager)">cast</a></span>&#8203;(jakarta.persistence.EntityManager&nbsp;em)</code></th>
<td class="colLast">
<div class="block">Return the OpenJPA facade to the given entity manager.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <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="#cast(jakarta.persistence.EntityManagerFactory)">cast</a></span>&#8203;(jakarta.persistence.EntityManagerFactory&nbsp;emf)</code></th>
<td class="colLast">
<div class="block">Return the OpenJPA facade to the given entity manager factory.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <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="#cast(jakarta.persistence.Query)">cast</a></span>&#8203;(jakarta.persistence.Query&nbsp;q)</code></th>
<td class="colLast">
<div class="block">Return the OpenJPA facade to the given query.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close(java.lang.Object)">close</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">Close the given resource.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <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="#createEntityManagerFactory(java.lang.String,java.lang.String)">createEntityManagerFactory</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,
<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;resource)</code></th>
<td class="colLast">
<div class="block">Returns a new <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> specified by
<code>name</code> in an XML configuration file at the resource location
<code>resource</code>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <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="#createEntityManagerFactory(java.lang.String,java.lang.String,java.util.Map)">createEntityManagerFactory</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,
<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;resource,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&nbsp;map)</code></th>
<td class="colLast">
<div class="block">Returns a new <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> specified by
<code>name</code> in an XML configuration file at the resource location
<code>resource</code>, applying the properties specified in
<code>map</code> as overrides.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <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="#createEntityManagerFactory(java.lang.String,javax.naming.Context)">createEntityManagerFactory</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;jndiLocation,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.naming/javax/naming/Context.html?is-external=true" title="class or interface in javax.naming" class="externalLink">Context</a>&nbsp;context)</code></th>
<td class="colLast">
<div class="block">Returns the <code>EntityManagerFactory</code> at the JNDI location specified
by <code>jndiLocation</code> in the context <code>context</code>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <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="#fromOpenJPAObjectId(java.lang.Object)">fromOpenJPAObjectId</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;oid)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <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="#fromOpenJPAObjectIdClass(java.lang.Class)">fromOpenJPAObjectIdClass</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;oidClass)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="OpenJPAEntityManager.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManager</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEntityManager(java.lang.Object)">getEntityManager</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 entity manager for the given object, if one can be determined
from just the object alone.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static <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">Returns the <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> specified by
your OpenJPA defaults.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <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(java.util.Map)">getEntityManagerFactory</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&nbsp;map)</code></th>
<td class="colLast">
<div class="block">Returns the <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> specified by
your OpenJPA defaults, using <code>map</code> as overrides.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMetaData(jakarta.persistence.EntityManagerFactory,java.lang.Class)">getMetaData</a></span>&#8203;(jakarta.persistence.EntityManagerFactory&nbsp;factory,
<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"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMetaData(jakarta.persistence.EntityManager,java.lang.Class)">getMetaData</a></span>&#8203;(jakarta.persistence.EntityManager&nbsp;em,
<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"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMetaData(java.lang.Object)">getMetaData</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"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isManagedType(jakarta.persistence.EntityManager,java.lang.Class)">isManagedType</a></span>&#8203;(jakarta.persistence.EntityManager&nbsp;em,
<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">Returns true if the specified class is an entity or embeddable type.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static <a href="../kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toBroker(jakarta.persistence.EntityManager)">toBroker</a></span>&#8203;(jakarta.persistence.EntityManager&nbsp;em)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static <a href="../kernel/BrokerFactory.html" title="interface in org.apache.openjpa.kernel">BrokerFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toBrokerFactory(jakarta.persistence.EntityManagerFactory)">toBrokerFactory</a></span>&#8203;(jakarta.persistence.EntityManagerFactory&nbsp;factory)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href="OpenJPAEntityManager.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManager</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toEntityManager(org.apache.openjpa.kernel.Broker)">toEntityManager</a></span>&#8203;(<a href="../kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</a>&nbsp;broker)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static <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="#toEntityManagerFactory(org.apache.openjpa.kernel.BrokerFactory)">toEntityManagerFactory</a></span>&#8203;(<a href="../kernel/BrokerFactory.html" title="interface in org.apache.openjpa.kernel">BrokerFactory</a>&nbsp;factory)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static <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="#toOpenJPAObjectId(org.apache.openjpa.meta.ClassMetaData,java.lang.Object)">toOpenJPAObjectId</a></span>&#8203;(<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta,
<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"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static <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="#toOpenJPAObjectIds(org.apache.openjpa.meta.ClassMetaData,java.lang.Object...)">toOpenJPAObjectIds</a></span>&#8203;(<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta,
<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"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static <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="#toOpenJPAObjectIds(org.apache.openjpa.meta.ClassMetaData,java.util.Collection)">toOpenJPAObjectIds</a></span>&#8203;(<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta,
<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"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead.</div>
</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<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></h3>
<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></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="EM_KEY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EM_KEY</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>
public static final&nbsp;<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> EM_KEY</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAPersistence.EM_KEY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="EMF_KEY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EMF_KEY</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>
public static final&nbsp;<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> EMF_KEY</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.openjpa.persistence.OpenJPAPersistence.EMF_KEY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OpenJPAPersistence</h4>
<pre>public&nbsp;OpenJPAPersistence()</pre>
</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="cast(jakarta.persistence.EntityManagerFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a>&nbsp;cast&#8203;(jakarta.persistence.EntityManagerFactory&nbsp;emf)</pre>
<div class="block">Return the OpenJPA facade to the given entity manager factory.</div>
</li>
</ul>
<a id="cast(jakarta.persistence.EntityManager)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAEntityManager.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManager</a>&nbsp;cast&#8203;(jakarta.persistence.EntityManager&nbsp;em)</pre>
<div class="block">Return the OpenJPA facade to the given entity manager.</div>
</li>
</ul>
<a id="cast(jakarta.persistence.Query)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAQuery.html" title="interface in org.apache.openjpa.persistence">OpenJPAQuery</a>&nbsp;cast&#8203;(jakarta.persistence.Query&nbsp;q)</pre>
<div class="block">Return the OpenJPA facade to the given query.</div>
</li>
</ul>
<a id="getEntityManagerFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityManagerFactory</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a>&nbsp;getEntityManagerFactory()</pre>
<div class="block">Returns the <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> specified by
your OpenJPA defaults. This method will return the same logical factory
for each invocation.</div>
</li>
</ul>
<a id="getEntityManagerFactory(java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityManagerFactory</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a>&nbsp;getEntityManagerFactory&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&nbsp;map)</pre>
<div class="block">Returns the <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> specified by
your OpenJPA defaults, using <code>map</code> as overrides. This method
will return the same logical factory for invocations with the same
overrides.</div>
</li>
</ul>
<a id="createEntityManagerFactory(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEntityManagerFactory</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a>&nbsp;createEntityManagerFactory&#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,
<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;resource)</pre>
<div class="block">Returns a new <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> specified by
<code>name</code> in an XML configuration file at the resource location
<code>resource</code>. If <code>name</code> is <code>null</code>, uses
the first resource found in the specified location, regardless of the
name specified in the XML resource or the name of the jar that the
resource is contained in. If <code>resource</code> is <code>null</code>,
uses the spec-defined <code>META-INF/persistence.xml</code> resource.
This method only resolves <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> instances.</div>
</li>
</ul>
<a id="createEntityManagerFactory(java.lang.String,java.lang.String,java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEntityManagerFactory</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a>&nbsp;createEntityManagerFactory&#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,
<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;resource,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&nbsp;map)</pre>
<div class="block">Returns a new <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> specified by
<code>name</code> in an XML configuration file at the resource location
<code>resource</code>, applying the properties specified in
<code>map</code> as overrides. If <code>name</code> is
<code>null</code>, uses the first resource found in the specified
location, regardless of the name specified in the XML resource or the
name of the jar that the resource is contained in.
If <code>resource</code> is <code>null</code>, uses the spec-defined
<code>META-INF/persistence.xml</code> resource.
This method only resolves <a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence"><code>OpenJPAEntityManagerFactory</code></a> instances.</div>
</li>
</ul>
<a id="createEntityManagerFactory(java.lang.String,javax.naming.Context)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEntityManagerFactory</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a>&nbsp;createEntityManagerFactory&#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;jndiLocation,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.naming/javax/naming/Context.html?is-external=true" title="class or interface in javax.naming" class="externalLink">Context</a>&nbsp;context)</pre>
<div class="block">Returns the <code>EntityManagerFactory</code> at the JNDI location specified
by <code>jndiLocation</code> in the context <code>context</code>. If
<code>context</code> is <code>null</code>,
<code>new InitialContext()</code> will be used.</div>
</li>
</ul>
<a id="getEntityManager(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityManager</h4>
<pre class="methodSignature">public static&nbsp;<a href="OpenJPAEntityManager.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManager</a>&nbsp;getEntityManager&#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 entity manager for the given object, if one can be determined
from just the object alone. This method will succeed for instances that
are enhanced, that were loaded from the database (rather than
being constructed with <code>new</code>), or that were created through
<a href="OpenJPAEntityManager.html#createInstance(java.lang.Class)"><code>OpenJPAEntityManager.createInstance(java.lang.Class&lt;T&gt;)</code></a>.</div>
</li>
</ul>
<a id="close(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;close&#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">Close the given resource. The resource can be an extent iterator,
query result, large result set relation, or any closeable OpenJPA
component.</div>
</li>
</ul>
<a id="isManagedType(jakarta.persistence.EntityManager,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isManagedType</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isManagedType&#8203;(jakarta.persistence.EntityManager&nbsp;em,
<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">Returns true if the specified class is an entity or embeddable type.</div>
</li>
</ul>
<a id="toEntityManagerFactory(org.apache.openjpa.kernel.BrokerFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toEntityManagerFactory</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>
public static&nbsp;<a href="OpenJPAEntityManagerFactory.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManagerFactory</a>&nbsp;toEntityManagerFactory&#8203;(<a href="../kernel/BrokerFactory.html" title="interface in org.apache.openjpa.kernel">BrokerFactory</a>&nbsp;factory)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="toBrokerFactory(jakarta.persistence.EntityManagerFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toBrokerFactory</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>
public static&nbsp;<a href="../kernel/BrokerFactory.html" title="interface in org.apache.openjpa.kernel">BrokerFactory</a>&nbsp;toBrokerFactory&#8203;(jakarta.persistence.EntityManagerFactory&nbsp;factory)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="toEntityManager(org.apache.openjpa.kernel.Broker)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toEntityManager</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>
public static&nbsp;<a href="OpenJPAEntityManager.html" title="interface in org.apache.openjpa.persistence">OpenJPAEntityManager</a>&nbsp;toEntityManager&#8203;(<a href="../kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</a>&nbsp;broker)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="toBroker(jakarta.persistence.EntityManager)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toBroker</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>
public static&nbsp;<a href="../kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</a>&nbsp;toBroker&#8203;(jakarta.persistence.EntityManager&nbsp;em)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="getMetaData(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetaData</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>
public static&nbsp;<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;getMetaData&#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="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="getMetaData(jakarta.persistence.EntityManager,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetaData</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>
public static&nbsp;<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;getMetaData&#8203;(jakarta.persistence.EntityManager&nbsp;em,
<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="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="getMetaData(jakarta.persistence.EntityManagerFactory,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetaData</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>
public static&nbsp;<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;getMetaData&#8203;(jakarta.persistence.EntityManagerFactory&nbsp;factory,
<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="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="fromOpenJPAObjectId(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromOpenJPAObjectId</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>
public static&nbsp;<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;fromOpenJPAObjectId&#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;oid)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="toOpenJPAObjectId(org.apache.openjpa.meta.ClassMetaData,java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toOpenJPAObjectId</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>
public static&nbsp;<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;toOpenJPAObjectId&#8203;(<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta,
<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="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="toOpenJPAObjectIds(org.apache.openjpa.meta.ClassMetaData,java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toOpenJPAObjectIds</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>
public static&nbsp;<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;toOpenJPAObjectIds&#8203;(<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta,
<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="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="toOpenJPAObjectIds(org.apache.openjpa.meta.ClassMetaData,java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toOpenJPAObjectIds</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>
public static&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>&nbsp;toOpenJPAObjectIds&#8203;(<a href="../meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta,
<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="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</li>
</ul>
<a id="fromOpenJPAObjectIdClass(java.lang.Class)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>fromOpenJPAObjectIdClass</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>
public static&nbsp;<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;fromOpenJPAObjectIdClass&#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;oidClass)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="JPAFacadeHelper.html" title="class in org.apache.openjpa.persistence"><code>JPAFacadeHelper</code></a> instead. This method pierces
the published-API boundary, as does the JPAFacadeHelper utilization.</div>
</div>
</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/OpenJPAPersistence.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><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a 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>