blob: 93a95f0a3b65360c16d8415a478b67ce99bc9d1e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_201) on Wed Apr 24 20:07:08 CEST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JDBCStoreManager (OpenJPA Parent POM 3.1.0 API)</title>
<meta name="date" content="2019-04-24">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JDBCStoreManager (OpenJPA Parent POM 3.1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JDBCStoreManager.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.ClientConnection.html" title="class in org.apache.openjpa.jdbc.kernel"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html" target="_top">Frames</a></li>
<li><a href="JDBCStoreManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.openjpa.jdbc.kernel</div>
<h2 title="Class JDBCStoreManager" class="title">Class JDBCStoreManager</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.openjpa.jdbc.kernel.JDBCStoreManager</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a>, <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a>, <a href="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../org/apache/openjpa/slice/jdbc/SliceStoreManager.html" title="class in org.apache.openjpa.slice.jdbc">SliceStoreManager</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">JDBCStoreManager</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a>, <a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></pre>
<div class="block">StoreManager plugin that uses JDBC to store persistent data in a
relational data store.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Abe White</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.ClientConnection.html" title="class in org.apache.openjpa.jdbc.kernel">JDBCStoreManager.ClientConnection</a></span></code>
<div class="block">Connection returned to client code.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html" title="class in org.apache.openjpa.jdbc.kernel">JDBCStoreManager.RefCountConnection</a></span></code>
<div class="block">Connection wrapper that keeps an internal ref count so that it knows
when to really close.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.openjpa.kernel.StoreManager">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.openjpa.kernel.<a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></h3>
<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#FORCE_LOAD_ALL">FORCE_LOAD_ALL</a>, <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#FORCE_LOAD_DFG">FORCE_LOAD_DFG</a>, <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#FORCE_LOAD_NONE">FORCE_LOAD_NONE</a>, <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#FORCE_LOAD_REFRESH">FORCE_LOAD_REFRESH</a>, <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#VERSION_DIFFERENT">VERSION_DIFFERENT</a>, <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#VERSION_EARLIER">VERSION_EARLIER</a>, <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#VERSION_LATER">VERSION_LATER</a>, <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#VERSION_SAME">VERSION_SAME</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#JDBCStoreManager--">JDBCStoreManager</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#assignField-org.apache.openjpa.kernel.OpenJPAStateManager-int-boolean-">assignField</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
int&nbsp;field,
boolean&nbsp;preFlush)</code>
<div class="block">Assign a value to the given field.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#assignObjectId-org.apache.openjpa.kernel.OpenJPAStateManager-boolean-">assignObjectId</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
boolean&nbsp;preFlush)</code>
<div class="block">Assign an object id to the given new instance.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#beforeStateChange-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.PCState-">beforeStateChange</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;fromState,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;toState)</code>
<div class="block">Notification that the given state manager is about to change its
lifecycle state.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#begin--">begin</a></span>()</code>
<div class="block">Begin a data store transaction.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#beginOptimistic--">beginOptimistic</a></span>()</code>
<div class="block">Notification that an optimistic transaction has started.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#cancelAll--">cancelAll</a></span>()</code>
<div class="block">Cancel all pending data store statements.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#close--">close</a></span>()</code>
<div class="block">Free any resources this store manager is using.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#commit--">commit</a></span>()</code>
<div class="block">Commit the current data store transaction.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#compareVersion-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-java.lang.Object-">compareVersion</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;state,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;v1,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;v2)</code>
<div class="block">Compare the two version objects.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html" title="class in org.apache.openjpa.jdbc.kernel">JDBCStoreManager.RefCountConnection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#connectInternal--">connectInternal</a></span>()</code>
<div class="block">Connect to the database.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#copyDataStoreId-java.lang.Object-org.apache.openjpa.meta.ClassMetaData-">copyDataStoreId</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;oid,
<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta)</code>
<div class="block">Copy the given object id value.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/rop/ResultObjectProvider.html" title="interface in org.apache.openjpa.lib.rop">ResultObjectProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#executeExtent-org.apache.openjpa.meta.ClassMetaData-boolean-org.apache.openjpa.kernel.FetchConfiguration-">executeExtent</a></span>(<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta,
boolean&nbsp;subclasses,
<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;fetch)</code>
<div class="block">Return a provider for all instances of the given candidate class,
optionally including subclasses.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#exists-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-">exists</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</code>
<div class="block">Verify that the given instance exists in the data store; return false
if it does not.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#find-java.lang.Object-org.apache.openjpa.jdbc.meta.ValueMapping-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-">find</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;oid,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;fetch)</code>
<div class="block">Find the object with the given oid.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#flush-java.util.Collection-">flush</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;sms)</code>
<div class="block">Flush the given state manager collection to the datastore, returning
a collection of exceptions encountered during flushing.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getClientConnection--">getClientConnection</a></span>()</code>
<div class="block">Return a connection to the data store suitable for client use.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getConfiguration--">getConfiguration</a></span>()</code>
<div class="block">Return the configuration for this runtime.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getConnection--">getConnection</a></span>()</code>
<div class="block">Return a SQL connection to the database.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getContext--">getContext</a></span>()</code>
<div class="block">Current persistence context.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getDataSource--">getDataSource</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel">Seq</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getDataStoreIdSequence-org.apache.openjpa.meta.ClassMetaData-">getDataStoreIdSequence</a></span>(<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta)</code>
<div class="block">Return a sequence that generates datastore identity values for the
given class.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getDataStoreIdType-org.apache.openjpa.meta.ClassMetaData-">getDataStoreIdType</a></span>(<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta)</code>
<div class="block">Return the class used by this StoreManager for datastore identity
values.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/sql/DBDictionary.html" title="class in org.apache.openjpa.jdbc.sql">DBDictionary</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getDBDictionary--">getDBDictionary</a></span>()</code>
<div class="block">Return the dictionary in use.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getFetchConfiguration--">getFetchConfiguration</a></span>()</code>
<div class="block">Return the current default fetch configuration.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCLockManager.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCLockManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getLockManager--">getLockManager</a></span>()</code>
<div class="block">If the lock manager in use is a <a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCLockManager.html" title="interface in org.apache.openjpa.jdbc.kernel"><code>JDBCLockManager</code></a>, return it.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getManagedType-java.lang.Object-">getManagedType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;oid)</code>
<div class="block">Return the persistent class for the given data store identity value.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getNewConnection--">getNewConnection</a></span>()</code>
<div class="block">Return a new SQL connection to the database.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/sql/SQLFactory.html" title="interface in org.apache.openjpa.jdbc.sql">SQLFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getSQLFactory--">getSQLFactory</a></span>()</code>
<div class="block">Return the SQL factory for this runtime.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getType-org.apache.openjpa.jdbc.sql.Result-org.apache.openjpa.jdbc.meta.ClassMapping-">getType</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/sql/Result.html" title="interface in org.apache.openjpa.jdbc.sql">Result</a>&nbsp;res,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping)</code>
<div class="block">This method is to provide override for non-JDBC or JDBC-like
implementation of getting type from the result set.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel">Seq</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getValueSequence-org.apache.openjpa.meta.FieldMetaData-">getValueSequence</a></span>(<a href="../../../../../org/apache/openjpa/meta/FieldMetaData.html" title="class in org.apache.openjpa.meta">FieldMetaData</a>&nbsp;fmd)</code>
<div class="block">Return a sequence that generates values for the given field.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#getVersion-org.apache.openjpa.jdbc.meta.ClassMapping-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.jdbc.sql.Result-">getVersion</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping,
<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/jdbc/sql/Result.html" title="interface in org.apache.openjpa.jdbc.sql">Result</a>&nbsp;res)</code>
<div class="block">This method is to provide override for non-JDBC or JDBC-like
implementation of getting version from the result set.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#initialize-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-">initialize</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;state,
<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;fetch,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</code>
<div class="block">Initialize the given state manager.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#initializeState-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-org.apache.openjpa.jdbc.kernel.ConnectionInfo-">initializeState</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;state,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;fetch,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/ConnectionInfo.html" title="class in org.apache.openjpa.jdbc.kernel">ConnectionInfo</a>&nbsp;info)</code>
<div class="block">Initialize a newly-loaded instance.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#isCached-java.util.List-java.util.BitSet-">isCached</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;oids,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</a>&nbsp;edata)</code>
<div class="block">Verify that the given instance exists in the data store in memory; return false
if it does not.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#isEmptyResult-org.apache.openjpa.jdbc.sql.Result-">isEmptyResult</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/sql/Result.html" title="interface in org.apache.openjpa.jdbc.sql">Result</a>&nbsp;res)</code>
<div class="block">This method is to provide override for non-JDBC or JDBC-like
implementation of checking whether the result set is empty or not.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#load-org.apache.openjpa.jdbc.meta.ClassMapping-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-java.util.BitSet-org.apache.openjpa.jdbc.sql.Result-">load</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;fetch,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</a>&nbsp;exclude,
<a href="../../../../../org/apache/openjpa/jdbc/sql/Result.html" title="interface in org.apache.openjpa.jdbc.sql">Result</a>&nbsp;result)</code>
<div class="block">Load the object in the current row of the given result.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#load-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.kernel.FetchConfiguration-int-java.lang.Object-">load</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</a>&nbsp;fields,
<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;fetch,
int&nbsp;lockLevel,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</code>
<div class="block">Load the given state manager.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#loadAll-java.util.Collection-org.apache.openjpa.kernel.PCState-int-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-">loadAll</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;sms,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;state,
int&nbsp;load,
<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;fetch,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</code>
<div class="block">Initialize, load, or validate the existance of all of the given
objects.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#loadSubclasses-org.apache.openjpa.jdbc.meta.ClassMapping-">loadSubclasses</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping)</code>
<div class="block">Makes sure all subclasses of the given type are loaded in the JVM.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/util/Id.html" title="class in org.apache.openjpa.util">Id</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#newDataStoreId-long-org.apache.openjpa.jdbc.meta.ClassMapping-boolean-">newDataStoreId</a></span>(long&nbsp;id,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping,
boolean&nbsp;subs)</code>
<div class="block">Create a new datastore identity object from the given id value and
mapping.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#newDataStoreId-java.lang.Object-org.apache.openjpa.meta.ClassMetaData-">newDataStoreId</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;val,
<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta)</code>
<div class="block">Create a new unique datastore identity for the given type from
the given oid value (presumably pk, stringified oid, or oid instance).</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#newFetchConfiguration--">newFetchConfiguration</a></span>()</code>
<div class="block">Return a fetch configuration suitable for this runtime.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/kernel/StoreQuery.html" title="interface in org.apache.openjpa.kernel">StoreQuery</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#newQuery-java.lang.String-">newQuery</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;language)</code>
<div class="block">Return a query implementation suitable for this store.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#releaseConnection--">releaseConnection</a></span>()</code>
<div class="block">Instruct the store to release a retained connection.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#retainConnection--">retainConnection</a></span>()</code>
<div class="block">Instruct the store to retain a connection for continued use.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#rollback--">rollback</a></span>()</code>
<div class="block">Rollback the current data store transaction.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#rollbackOptimistic--">rollbackOptimistic</a></span>()</code>
<div class="block">Notification that an optimistic transaction was rolled back before
a data store transaction ever began.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#select-org.apache.openjpa.jdbc.sql.Select-org.apache.openjpa.jdbc.meta.ClassMapping-int-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-int-boolean-boolean-">select</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/sql/Select.html" title="interface in org.apache.openjpa.jdbc.sql">Select</a>&nbsp;sel,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping,
int&nbsp;subs,
<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</a>&nbsp;fields,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;fetch,
int&nbsp;eager,
boolean&nbsp;ident,
boolean&nbsp;outer)</code>
<div class="block">For implementation use only.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#setContext-org.apache.openjpa.kernel.StoreContext-">setContext</a></span>(<a href="../../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</a>&nbsp;ctx)</code>
<div class="block">Set a reference to the corresponding context.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#setContext-org.apache.openjpa.kernel.StoreContext-org.apache.openjpa.jdbc.conf.JDBCConfiguration-">setContext</a></span>(<a href="../../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</a>&nbsp;ctx,
<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf)</code>&nbsp;</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#setMappedBy-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.jdbc.meta.FieldMapping-java.lang.Object-">setMappedBy</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;mappedByFieldMapping,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;mappedByObject)</code>&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html#syncVersion-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-">syncVersion</a></span>(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</code>
<div class="block">Update the version information in the given state manager to the
version stored in the data store.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="JDBCStoreManager--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JDBCStoreManager</h4>
<pre>public&nbsp;JDBCStoreManager()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getContext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</a>&nbsp;getContext()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getContext--">JDBCStore</a></code></span></div>
<div class="block">Current persistence context.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getContext--">getContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="setContext-org.apache.openjpa.kernel.StoreContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setContext</h4>
<pre>public&nbsp;void&nbsp;setContext(<a href="../../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</a>&nbsp;ctx)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#setContext-org.apache.openjpa.kernel.StoreContext-">StoreManager</a></code></span></div>
<div class="block">Set a reference to the corresponding context. This method
will be called before the store manager is used. The store manager
is responsible for pulling any necessary configuration data from the
context, including the transaction mode and connection retain mode.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#setContext-org.apache.openjpa.kernel.StoreContext-">setContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="setContext-org.apache.openjpa.kernel.StoreContext-org.apache.openjpa.jdbc.conf.JDBCConfiguration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setContext</h4>
<pre>public&nbsp;void&nbsp;setContext(<a href="../../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</a>&nbsp;ctx,
<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf)</pre>
</li>
</ul>
<a name="getConfiguration--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;getConfiguration()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getConfiguration--">JDBCStore</a></code></span></div>
<div class="block">Return the configuration for this runtime.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getConfiguration--">getConfiguration</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="getDBDictionary--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDBDictionary</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/sql/DBDictionary.html" title="class in org.apache.openjpa.jdbc.sql">DBDictionary</a>&nbsp;getDBDictionary()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getDBDictionary--">JDBCStore</a></code></span></div>
<div class="block">Return the dictionary in use.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getDBDictionary--">getDBDictionary</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="getSQLFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSQLFactory</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/sql/SQLFactory.html" title="interface in org.apache.openjpa.jdbc.sql">SQLFactory</a>&nbsp;getSQLFactory()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getSQLFactory--">JDBCStore</a></code></span></div>
<div class="block">Return the SQL factory for this runtime.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getSQLFactory--">getSQLFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="getLockManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLockManager</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCLockManager.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCLockManager</a>&nbsp;getLockManager()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getLockManager--">JDBCStore</a></code></span></div>
<div class="block">If the lock manager in use is a <a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCLockManager.html" title="interface in org.apache.openjpa.jdbc.kernel"><code>JDBCLockManager</code></a>, return it.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getLockManager--">getLockManager</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="getFetchConfiguration--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchConfiguration</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;getFetchConfiguration()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getFetchConfiguration--">JDBCStore</a></code></span></div>
<div class="block">Return the current default fetch configuration.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getFetchConfiguration--">getFetchConfiguration</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="beginOptimistic--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beginOptimistic</h4>
<pre>public&nbsp;void&nbsp;beginOptimistic()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#beginOptimistic--">StoreManager</a></code></span></div>
<div class="block">Notification that an optimistic transaction has started. This method
does not replace the <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#begin--"><code>StoreManager.begin()</code></a> method, which will still be called
when a true data store transaction should begin.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#beginOptimistic--">beginOptimistic</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="rollbackOptimistic--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rollbackOptimistic</h4>
<pre>public&nbsp;void&nbsp;rollbackOptimistic()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#rollbackOptimistic--">StoreManager</a></code></span></div>
<div class="block">Notification that an optimistic transaction was rolled back before
a data store transaction ever began.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#rollbackOptimistic--">rollbackOptimistic</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="begin--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>begin</h4>
<pre>public&nbsp;void&nbsp;begin()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#begin--">StoreManager</a></code></span></div>
<div class="block">Begin a data store transaction. After this method is called,
it is assumed that all further operations are operating in a single
transaction that can be committed or rolled back. If optimistic
transactions are in use, this method will only be called when the
system requires a transactionally consistent connection due to a
user request to flush or commit the transaction. In this case, it
is possible that the optimistic transaction does not have the latest
versions of all instances (i.e. another transaction has modified the
same instances and committed since the optimistic transaction started).
On commit, an exception must be thrown on any attempt to overwrite
data for an instance with an older version.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#begin--">begin</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="commit--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commit</h4>
<pre>public&nbsp;void&nbsp;commit()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#commit--">StoreManager</a></code></span></div>
<div class="block">Commit the current data store transaction.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#commit--">commit</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="rollback--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rollback</h4>
<pre>public&nbsp;void&nbsp;rollback()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#rollback--">StoreManager</a></code></span></div>
<div class="block">Rollback the current data store transaction.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#rollback--">rollback</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="retainConnection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retainConnection</h4>
<pre>public&nbsp;void&nbsp;retainConnection()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#retainConnection--">StoreManager</a></code></span></div>
<div class="block">Instruct the store to retain a connection for continued use. This
will be invoked automatically based on the user's configured connection
retain mode.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#retainConnection--">retainConnection</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="releaseConnection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>releaseConnection</h4>
<pre>public&nbsp;void&nbsp;releaseConnection()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#releaseConnection--">StoreManager</a></code></span></div>
<div class="block">Instruct the store to release a retained connection. This
will be invoked automatically based on the user's configured connection
retain mode.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#releaseConnection--">releaseConnection</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getClientConnection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClientConnection</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getClientConnection()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getClientConnection--">StoreManager</a></code></span></div>
<div class="block">Return a connection to the data store suitable for client use. If
this method is called during a data store transaction, thie connection
must be transactional. If no connection is in use, this method should
create one to return.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getClientConnection--">getClientConnection</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getConnection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnection</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;getConnection()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getConnection--">JDBCStore</a></code></span></div>
<div class="block">Return a SQL connection to the database.
The <code>close</code> method should always be called on the connection
to free any resources it is using. When appropriate, the close
method is implemented as a no-op.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getConnection--">getConnection</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="getDataSource--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataSource</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</a>&nbsp;getDataSource()</pre>
</li>
</ul>
<a name="exists-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
<pre>public&nbsp;boolean&nbsp;exists(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#exists-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-">StoreManager</a></code></span></div>
<div class="block">Verify that the given instance exists in the data store; return false
if it does not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#exists-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-">exists</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="isCached-java.util.List-java.util.BitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCached</h4>
<pre>public&nbsp;boolean&nbsp;isCached(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;oids,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</a>&nbsp;edata)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#isCached-java.util.List-java.util.BitSet-">StoreManager</a></code></span></div>
<div class="block">Verify that the given instance exists in the data store in memory; return false
if it does not. When an object is found in memory the corresponding element of
the BitSet is set to 1.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#isCached-java.util.List-java.util.BitSet-">isCached</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="syncVersion-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>syncVersion</h4>
<pre>public&nbsp;boolean&nbsp;syncVersion(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#syncVersion-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-">StoreManager</a></code></span></div>
<div class="block">Update the version information in the given state manager to the
version stored in the data store.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#syncVersion-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-">syncVersion</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sm</code> - the instance to check</dd>
<dd><code>context</code> - the current execution data, or null if not
given to the calling method of the context</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the instance still exists in the
datastore and is up-to-date, false otherwise</dd>
</dl>
</li>
</ul>
<a name="compareVersion-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareVersion</h4>
<pre>public&nbsp;int&nbsp;compareVersion(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;state,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;v1,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;v2)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#compareVersion-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-java.lang.Object-">StoreManager</a></code></span></div>
<div class="block">Compare the two version objects.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#compareVersion-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-java.lang.Object-">compareVersion</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>state</code> - the state manager for the object</dd>
<dd><code>v1</code> - the first version object to compare</dd>
<dd><code>v2</code> - the second version object to compare</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><ul>
<li><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#VERSION_LATER"><code>StoreManager.VERSION_LATER</code></a> if <code>v1</code>
is later than <code>v2</code></li>
<li><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#VERSION_EARLIER"><code>StoreManager.VERSION_EARLIER</code></a> if <code>v1</code>
is earlier than <code>v2</code></li>
<li><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#VERSION_SAME"><code>StoreManager.VERSION_SAME</code></a> if <code>v1</code>
is the same as <code>v2</code></li>
<li><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#VERSION_DIFFERENT"><code>StoreManager.VERSION_DIFFERENT</code></a> if <code>v1</code>
is different from <code>v2</code>, but the time
difference of the versions cannot be determined</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="initialize-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initialize</h4>
<pre>public&nbsp;boolean&nbsp;initialize(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;state,
<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;fetch,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#initialize-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-">StoreManager</a></code></span></div>
<div class="block">Initialize the given state manager. The object id of the
state manager will be set, and the state manager's metadata be set to
the class of the instance to load, or possibly one of its superclasses.
Initialization involves first calling the
<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html#initialize-java.lang.Class-org.apache.openjpa.kernel.PCState-"><code>OpenJPAStateManager.initialize(java.lang.Class, org.apache.openjpa.kernel.PCState)</code></a> method with
a new instance of the correct type constructed with the
<a href="../../../../../org/apache/openjpa/enhance/PCRegistry.html#newInstance-java.lang.Class-org.apache.openjpa.enhance.StateManager-boolean-"><code>PCRegistry.newInstance(Class,
org.apache.openjpa.enhance.StateManager, boolean)</code></a> method
(this will reset the state manager's metadata if the actual type was a
subclass). After instance initialization, load any the fields for the
given fetch configuration that can be efficiently retrieved. If any of
the configured fields are not loaded in this method, they will be
loaded with a subsequent call to <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#load-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.kernel.FetchConfiguration-int-java.lang.Object-"><code>StoreManager.load(org.apache.openjpa.kernel.OpenJPAStateManager, java.util.BitSet, org.apache.openjpa.kernel.FetchConfiguration, int, java.lang.Object)</code></a>. If this method is
called during a data store transaction, the instance's database record
should be locked. Version information can be loaded if desired through
the <a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html#setVersion-java.lang.Object-"><code>OpenJPAStateManager.setVersion(java.lang.Object)</code></a> method.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#initialize-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-">initialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sm</code> - the instance to initialize</dd>
<dd><code>state</code> - the lifecycle state to initialize the state manager with</dd>
<dd><code>fetch</code> - configuration for how to load the instance</dd>
<dd><code>context</code> - the current execution data, or null if not
given to the calling method of the broker</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the matching instance exists in the data
store, false otherwise</dd>
</dl>
</li>
</ul>
<a name="initializeState-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-org.apache.openjpa.jdbc.kernel.ConnectionInfo-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeState</h4>
<pre>protected&nbsp;boolean&nbsp;initializeState(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;state,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;fetch,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/ConnectionInfo.html" title="class in org.apache.openjpa.jdbc.kernel">ConnectionInfo</a>&nbsp;info)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Initialize a newly-loaded instance.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="setMappedBy-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.jdbc.meta.FieldMapping-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMappedBy</h4>
<pre>protected&nbsp;void&nbsp;setMappedBy(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;mappedByFieldMapping,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;mappedByObject)</pre>
</li>
</ul>
<a name="getVersion-org.apache.openjpa.jdbc.meta.ClassMapping-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.jdbc.sql.Result-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre>protected&nbsp;void&nbsp;getVersion(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping,
<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/jdbc/sql/Result.html" title="interface in org.apache.openjpa.jdbc.sql">Result</a>&nbsp;res)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">This method is to provide override for non-JDBC or JDBC-like
implementation of getting version from the result set.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="isEmptyResult-org.apache.openjpa.jdbc.sql.Result-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmptyResult</h4>
<pre>protected&nbsp;boolean&nbsp;isEmptyResult(<a href="../../../../../org/apache/openjpa/jdbc/sql/Result.html" title="interface in org.apache.openjpa.jdbc.sql">Result</a>&nbsp;res)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">This method is to provide override for non-JDBC or JDBC-like
implementation of checking whether the result set is empty or not.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="getType-org.apache.openjpa.jdbc.sql.Result-org.apache.openjpa.jdbc.meta.ClassMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getType(<a href="../../../../../org/apache/openjpa/jdbc/sql/Result.html" title="interface in org.apache.openjpa.jdbc.sql">Result</a>&nbsp;res,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping)</pre>
<div class="block">This method is to provide override for non-JDBC or JDBC-like
implementation of getting type from the result set.</div>
</li>
</ul>
<a name="load-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.kernel.FetchConfiguration-int-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>load</h4>
<pre>public&nbsp;boolean&nbsp;load(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</a>&nbsp;fields,
<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;fetch,
int&nbsp;lockLevel,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#load-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.kernel.FetchConfiguration-int-java.lang.Object-">StoreManager</a></code></span></div>
<div class="block">Load the given state manager.
Note that any collection or map types loaded into the state manager
will be proxied with the correct type; therefore the store manager
does not have to load the same concrete collection/map types as the
instance declares. However, array types must be consistent with the
array type stored by the persistence capable instance. If this method
is called during a data store transaction, the instance should be
locked. If the given state manager does not have its version set
already, version information can be loaded if desired through the
<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html#setVersion-java.lang.Object-"><code>OpenJPAStateManager.setVersion(java.lang.Object)</code></a> method.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#load-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.kernel.FetchConfiguration-int-java.lang.Object-">load</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sm</code> - the instance to load</dd>
<dd><code>fields</code> - set of fields to load; all field indexes in this
set must be loaded; this set is mutable</dd>
<dd><code>fetch</code> - the fetch configuration to use when loading
related objects</dd>
<dd><code>lockLevel</code> - attempt to load simple fields at this lock level;
relations should be loaded at the read lock level
of the fetch configuration</dd>
<dd><code>context</code> - the current execution data, or null if not
given to the calling method of the broker</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>false if the object no longer exists in the
database, true otherwise</dd>
</dl>
</li>
</ul>
<a name="loadAll-java.util.Collection-org.apache.openjpa.kernel.PCState-int-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadAll</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;loadAll(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;sms,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;state,
int&nbsp;load,
<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;fetch,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;context)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#loadAll-java.util.Collection-org.apache.openjpa.kernel.PCState-int-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-">StoreManager</a></code></span></div>
<div class="block">Initialize, load, or validate the existance of all of the given
objects. This method is called from various broker methods that act
on multiple objects, such as <a href="../../../../../org/apache/openjpa/kernel/StoreContext.html#retrieveAll-java.util.Collection-boolean-org.apache.openjpa.kernel.OpCallbacks-"><code>StoreContext.retrieveAll(java.util.Collection&lt;java.lang.Object&gt;, boolean, org.apache.openjpa.kernel.OpCallbacks)</code></a>. It gives
the store manager an opportunity to efficiently batch-load data for
several objects. Each of the given state managers will be in one of
three states, each requiring a different action:
<ul>
<li><code>stateManager.getO () == null</code>: An
uninitialized state manager. Perform the same actions as in
<a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#initialize-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-"><code>StoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)</code></a>.
<li><code>load != FORCE_LOAD_NONE || stateManager.getPCState ()
== PCState.HOLLOW</code>: A hollow state manager, or one whose
fields must be loaded because this is a refresh or retrieve action.
Peform the same actions as in <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#load-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.kernel.FetchConfiguration-int-java.lang.Object-"><code>StoreManager.load(org.apache.openjpa.kernel.OpenJPAStateManager, java.util.BitSet, org.apache.openjpa.kernel.FetchConfiguration, int, java.lang.Object)</code></a>, choosing the fields
to load based on the fetch configuration, or loading all fields
if <code>load == FORCE_LOAD_ALL</code>. Any required fields left
unloaded will cause a subsequent invocation of <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#load-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.kernel.FetchConfiguration-int-java.lang.Object-"><code>StoreManager.load(org.apache.openjpa.kernel.OpenJPAStateManager, java.util.BitSet, org.apache.openjpa.kernel.FetchConfiguration, int, java.lang.Object)</code></a> on
the individual object in question.</li>
<li><code>load == FORCE_LOAD_NONE &amp;&amp;
stateManager.getPCState () != PCState.HOLLOW</code>: A non-hollow
state manager. Perform the same actions as in <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#exists-org.apache.openjpa.kernel.OpenJPAStateManager-java.lang.Object-"><code>StoreManager.exists(org.apache.openjpa.kernel.OpenJPAStateManager, java.lang.Object)</code></a>,
and load additional state if desired. Non-hollow objects will only
be included outside of refresh invocations if a user calls
<code>findAll</code> with the <code>validate</code>
parameter set to <code>true</code>.</li>
</ul>
Store managers that cannot efficiently batch load can simply test
for these conditions and delegate to the proper methods.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#loadAll-java.util.Collection-org.apache.openjpa.kernel.PCState-int-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-">loadAll</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sms</code> - the state manager instances to load</dd>
<dd><code>state</code> - the lifecycle state to initialize uninitialized
state managers with; may be null if no uninitialized
instances are included in <code>sms</code></dd>
<dd><code>load</code> - one of the FORCE_LOAD_* constants describing the
fields to force-load if this is a refresh or retrieve action</dd>
<dd><code>fetch</code> - the current fetch configuration to use when loading
related objects</dd>
<dd><code>context</code> - the current execution data, or null if not
given to the calling method of the broker</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a collection of the state manager identities for
which no data store record exists</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/openjpa/util/ImplHelper.html#loadAll-java.util.Collection-org.apache.openjpa.kernel.StoreManager-org.apache.openjpa.kernel.PCState-int-org.apache.openjpa.kernel.FetchConfiguration-java.lang.Object-"><code>ImplHelper.loadAll(java.util.Collection, org.apache.openjpa.kernel.StoreManager, org.apache.openjpa.kernel.PCState, int, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)</code></a></dd>
</dl>
</li>
</ul>
<a name="beforeStateChange-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.PCState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beforeStateChange</h4>
<pre>public&nbsp;void&nbsp;beforeStateChange(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;fromState,
<a href="../../../../../org/apache/openjpa/kernel/PCState.html" title="class in org.apache.openjpa.kernel">PCState</a>&nbsp;toState)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#beforeStateChange-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.PCState-">StoreManager</a></code></span></div>
<div class="block">Notification that the given state manager is about to change its
lifecycle state. The store manager is not required to do anything in
this method, but some back ends may need to.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#beforeStateChange-org.apache.openjpa.kernel.OpenJPAStateManager-org.apache.openjpa.kernel.PCState-org.apache.openjpa.kernel.PCState-">beforeStateChange</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="flush-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flush</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;flush(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&nbsp;sms)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#flush-java.util.Collection-">StoreManager</a></code></span></div>
<div class="block">Flush the given state manager collection to the datastore, returning
a collection of exceptions encountered during flushing.
The given collection may include states that do not require data
store action, such as persistent-clean instances or persistent-dirty
instances that have not been modified since they were last flushed.
For datastore updates and inserts, the dirty, non-flushed fields of
each state should be flushed. New instances without an assigned object
id should be given one via <a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html#setObjectId-java.lang.Object-"><code>OpenJPAStateManager.setObjectId(java.lang.Object)</code></a>. New
instances with value-strategy fields that have not been assigned yet
should have their fields set. Datastore version information should be
updated during flush, and the state manager's version indicator
updated through the <a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html#setNextVersion-java.lang.Object-"><code>OpenJPAStateManager.setNextVersion(java.lang.Object)</code></a> method.
The current version will roll over to this next version upon successful
commit.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#flush-java.util.Collection-">flush</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>org.apache.openjpa.util.ApplicationIds#assign()</code></dd>
</dl>
</li>
</ul>
<a name="cancelAll--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cancelAll</h4>
<pre>public&nbsp;boolean&nbsp;cancelAll()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#cancelAll--">StoreManager</a></code></span></div>
<div class="block">Cancel all pending data store statements.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#cancelAll--">cancelAll</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if any statements cancelled, false otherwise</dd>
</dl>
</li>
</ul>
<a name="assignObjectId-org.apache.openjpa.kernel.OpenJPAStateManager-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignObjectId</h4>
<pre>public&nbsp;boolean&nbsp;assignObjectId(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
boolean&nbsp;preFlush)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#assignObjectId-org.apache.openjpa.kernel.OpenJPAStateManager-boolean-">StoreManager</a></code></span></div>
<div class="block">Assign an object id to the given new instance. Return false if the
instance cannot be assigned an identity because a flush is required
(for example, the identity is determined by the datastore on insert).
For application identity instances, the assigned object id should be
based on field state. The implementation is responsible for using the
proper value strategy according to the instance metadata. This method
is called the first time a user requests the oid of a new instance
before flush.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#assignObjectId-org.apache.openjpa.kernel.OpenJPAStateManager-boolean-">assignObjectId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dd><code>preFlush</code> - whether this assignment is being requested by the
system as part of pre-flush activities, and can
be ignored if it is more efficient to assign within <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#flush-java.util.Collection-"><code>StoreManager.flush(java.util.Collection&lt;org.apache.openjpa.kernel.OpenJPAStateManager&gt;)</code></a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/openjpa/util/ImplHelper.html#generateFieldValue-org.apache.openjpa.kernel.StoreContext-org.apache.openjpa.meta.FieldMetaData-"><code>ImplHelper.generateFieldValue(org.apache.openjpa.kernel.StoreContext, org.apache.openjpa.meta.FieldMetaData)</code></a>,
<a href="../../../../../org/apache/openjpa/util/ImplHelper.html#generateIdentityValue-org.apache.openjpa.kernel.StoreContext-org.apache.openjpa.meta.ClassMetaData-int-"><code>ImplHelper.generateIdentityValue(org.apache.openjpa.kernel.StoreContext, org.apache.openjpa.meta.ClassMetaData, int)</code></a>,
<code>org.apache.openjpa.util.ApplicationIds#assign()</code></dd>
</dl>
</li>
</ul>
<a name="assignField-org.apache.openjpa.kernel.OpenJPAStateManager-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assignField</h4>
<pre>public&nbsp;boolean&nbsp;assignField(<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
int&nbsp;field,
boolean&nbsp;preFlush)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#assignField-org.apache.openjpa.kernel.OpenJPAStateManager-int-boolean-">StoreManager</a></code></span></div>
<div class="block">Assign a value to the given field. Return false if the value cannot
be assigned because a flush is required (for example, the field value
is determined by the datastore on insert). This method is called the
first time a user requests the value of a field with a value-strategy
on a new instance before flush.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#assignField-org.apache.openjpa.kernel.OpenJPAStateManager-int-boolean-">assignField</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dd><code>preFlush</code> - whether this assignment is being requested by the
system as part of pre-flush activities, and can
be ignored if it is more efficient to assign within <a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#flush-java.util.Collection-"><code>StoreManager.flush(java.util.Collection&lt;org.apache.openjpa.kernel.OpenJPAStateManager&gt;)</code></a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/openjpa/util/ImplHelper.html#generateFieldValue-org.apache.openjpa.kernel.StoreContext-org.apache.openjpa.meta.FieldMetaData-"><code>ImplHelper.generateFieldValue(org.apache.openjpa.kernel.StoreContext, org.apache.openjpa.meta.FieldMetaData)</code></a></dd>
</dl>
</li>
</ul>
<a name="getManagedType-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getManagedType</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getManagedType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;oid)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getManagedType-java.lang.Object-">StoreManager</a></code></span></div>
<div class="block">Return the persistent class for the given data store identity value.
If the given value is not a datastore identity object, return null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getManagedType-java.lang.Object-">getManagedType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getDataStoreIdType-org.apache.openjpa.meta.ClassMetaData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataStoreIdType</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getDataStoreIdType(<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getDataStoreIdType-org.apache.openjpa.meta.ClassMetaData-">StoreManager</a></code></span></div>
<div class="block">Return the class used by this StoreManager for datastore identity
values. The given metadata may be null, in which case the return
value should the common datastore identity class for all classes, or
null if this store manager does not use a common identity class.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getDataStoreIdType-org.apache.openjpa.meta.ClassMetaData-">getDataStoreIdType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="copyDataStoreId-java.lang.Object-org.apache.openjpa.meta.ClassMetaData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyDataStoreId</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;copyDataStoreId(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;oid,
<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#copyDataStoreId-java.lang.Object-org.apache.openjpa.meta.ClassMetaData-">StoreManager</a></code></span></div>
<div class="block">Copy the given object id value. Use the described type of the given
metadata, which may be a subclass of the given oid's described type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#copyDataStoreId-java.lang.Object-org.apache.openjpa.meta.ClassMetaData-">copyDataStoreId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="newDataStoreId-java.lang.Object-org.apache.openjpa.meta.ClassMetaData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newDataStoreId</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;newDataStoreId(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;val,
<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#newDataStoreId-java.lang.Object-org.apache.openjpa.meta.ClassMetaData-">StoreManager</a></code></span></div>
<div class="block">Create a new unique datastore identity for the given type from
the given oid value (presumably pk, stringified oid, or oid instance).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#newDataStoreId-java.lang.Object-org.apache.openjpa.meta.ClassMetaData-">newDataStoreId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="newDataStoreId-long-org.apache.openjpa.jdbc.meta.ClassMapping-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newDataStoreId</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/util/Id.html" title="class in org.apache.openjpa.util">Id</a>&nbsp;newDataStoreId(long&nbsp;id,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping,
boolean&nbsp;subs)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#newDataStoreId-long-org.apache.openjpa.jdbc.meta.ClassMapping-boolean-">JDBCStore</a></code></span></div>
<div class="block">Create a new datastore identity object from the given id value and
mapping.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#newDataStoreId-long-org.apache.openjpa.jdbc.meta.ClassMapping-boolean-">newDataStoreId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="executeExtent-org.apache.openjpa.meta.ClassMetaData-boolean-org.apache.openjpa.kernel.FetchConfiguration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeExtent</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/lib/rop/ResultObjectProvider.html" title="interface in org.apache.openjpa.lib.rop">ResultObjectProvider</a>&nbsp;executeExtent(<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta,
boolean&nbsp;subclasses,
<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;fetch)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#executeExtent-org.apache.openjpa.meta.ClassMetaData-boolean-org.apache.openjpa.kernel.FetchConfiguration-">StoreManager</a></code></span></div>
<div class="block">Return a provider for all instances of the given candidate class,
optionally including subclasses. The given candidate may be an
unmapped type with mapped subclasses. If the provider is iterated
within a data store transaction, returned instances should be locked.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#executeExtent-org.apache.openjpa.meta.ClassMetaData-boolean-org.apache.openjpa.kernel.FetchConfiguration-">executeExtent</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="newQuery-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newQuery</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/kernel/StoreQuery.html" title="interface in org.apache.openjpa.kernel">StoreQuery</a>&nbsp;newQuery(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;language)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#newQuery-java.lang.String-">StoreManager</a></code></span></div>
<div class="block">Return a query implementation suitable for this store. If the query
is iterated within a data store transaction, returned instances should
be locked. Return null if this store does not support native execution
of the given language. OpenJPA can execute JPQL in memory even without
back end support.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#newQuery-java.lang.String-">newQuery</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>language</code> - the query language</dd>
</dl>
</li>
</ul>
<a name="newFetchConfiguration--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newFetchConfiguration</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;newFetchConfiguration()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#newFetchConfiguration--">StoreManager</a></code></span></div>
<div class="block">Return a fetch configuration suitable for this runtime. Typically
will be or extend <code>FetchConfigurationImpl</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#newFetchConfiguration--">newFetchConfiguration</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getDataStoreIdSequence-org.apache.openjpa.meta.ClassMetaData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataStoreIdSequence</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel">Seq</a>&nbsp;getDataStoreIdSequence(<a href="../../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>&nbsp;meta)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getDataStoreIdSequence-org.apache.openjpa.meta.ClassMetaData-">StoreManager</a></code></span></div>
<div class="block">Return a sequence that generates datastore identity values for the
given class. This method will only be called when the identity strategy
for the class is one of:
<ul>
<li><a href="../../../../../org/apache/openjpa/meta/ValueStrategies.html#NATIVE"><code>ValueStrategies.NATIVE</code></a></li>
<li><a href="../../../../../org/apache/openjpa/meta/ValueStrategies.html#AUTOASSIGN"><code>ValueStrategies.AUTOASSIGN</code></a></li>
<li><a href="../../../../../org/apache/openjpa/meta/ValueStrategies.html#INCREMENT"><code>ValueStrategies.INCREMENT</code></a></li>
</ul>
If the identity strategy cannot be represented as a sequence, return
null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getDataStoreIdSequence-org.apache.openjpa.meta.ClassMetaData-">getDataStoreIdSequence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getValueSequence-org.apache.openjpa.meta.FieldMetaData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueSequence</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/kernel/Seq.html" title="interface in org.apache.openjpa.kernel">Seq</a>&nbsp;getValueSequence(<a href="../../../../../org/apache/openjpa/meta/FieldMetaData.html" title="class in org.apache.openjpa.meta">FieldMetaData</a>&nbsp;fmd)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getValueSequence-org.apache.openjpa.meta.FieldMetaData-">StoreManager</a></code></span></div>
<div class="block">Return a sequence that generates values for the given field. This
method will only be called when the value strategy for the field
is one of:
<ul>
<li><a href="../../../../../org/apache/openjpa/meta/ValueStrategies.html#NATIVE"><code>ValueStrategies.NATIVE</code></a></li>
<li><a href="../../../../../org/apache/openjpa/meta/ValueStrategies.html#AUTOASSIGN"><code>ValueStrategies.AUTOASSIGN</code></a></li>
<li><a href="../../../../../org/apache/openjpa/meta/ValueStrategies.html#INCREMENT"><code>ValueStrategies.INCREMENT</code></a></li>
</ul> If the value strategy cannot be represented as a sequence, return
null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#getValueSequence-org.apache.openjpa.meta.FieldMetaData-">getValueSequence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#close--">StoreManager</a></code></span></div>
<div class="block">Free any resources this store manager is using.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html#close--">close</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel">StoreManager</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/lib/util/Closeable.html#close--">close</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</a></code></dd>
</dl>
</li>
</ul>
<a name="connectInternal--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectInternal</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html" title="class in org.apache.openjpa.jdbc.kernel">JDBCStoreManager.RefCountConnection</a>&nbsp;connectInternal()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Connect to the database. This method is separated out so that it
can be overridden.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="getNewConnection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNewConnection</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;getNewConnection()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getNewConnection--">JDBCStore</a></code></span></div>
<div class="block">Return a new SQL connection to the database.
This is used when the current connection still has a open result set
and a new database operation needs to be done.
The <code>close</code> method should always be called on the connection
to free any resources it is using. When appropriate, the close
method is implemented as a no-op.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#getNewConnection--">getNewConnection</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
<a name="find-java.lang.Object-org.apache.openjpa.jdbc.meta.ValueMapping-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>find</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;find(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;oid,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;fetch)</pre>
<div class="block">Find the object with the given oid.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#find-java.lang.Object-org.apache.openjpa.jdbc.meta.ValueMapping-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-">find</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
<dd><code>vm</code> - the mapping holding this oid, or null if not applicable</dd>
</dl>
</li>
</ul>
<a name="load-org.apache.openjpa.jdbc.meta.ClassMapping-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-java.util.BitSet-org.apache.openjpa.jdbc.sql.Result-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>load</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;load(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;fetch,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</a>&nbsp;exclude,
<a href="../../../../../org/apache/openjpa/jdbc/sql/Result.html" title="interface in org.apache.openjpa.jdbc.sql">Result</a>&nbsp;result)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Load the object in the current row of the given result.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="select-org.apache.openjpa.jdbc.sql.Select-org.apache.openjpa.jdbc.meta.ClassMapping-int-org.apache.openjpa.kernel.OpenJPAStateManager-java.util.BitSet-org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration-int-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>select</h4>
<pre>public&nbsp;boolean&nbsp;select(<a href="../../../../../org/apache/openjpa/jdbc/sql/Select.html" title="interface in org.apache.openjpa.jdbc.sql">Select</a>&nbsp;sel,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping,
int&nbsp;subs,
<a href="../../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</a>&nbsp;sm,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</a>&nbsp;fields,
<a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCFetchConfiguration</a>&nbsp;fetch,
int&nbsp;eager,
boolean&nbsp;ident,
boolean&nbsp;outer)</pre>
<div class="block">For implementation use only.
Return a select for the proper mappings. Return null if no select is
needed. The method is designed to be complementary to the load methods.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sel</code> - select to build on</dd>
<dd><code>mapping</code> - the mapping for the base type to select for</dd>
<dd><code>subs</code> - whether the select might include subclasses of the
given mapping</dd>
<dd><code>sm</code> - state manager if an instance is being loaded or
initialized, else null</dd>
<dd><code>fields</code> - if a state manager is being loaded, the set of
fields that must be loaded in order, else null</dd>
<dd><code>fetch</code> - the fetch configuration; used if no specific fields
must be loaded, and used when selecting relations</dd>
<dd><code>eager</code> - eager fetch mode to use</dd>
<dd><code>ident</code> - whether to select primary key columns as distinct
identifiers</dd>
<dd><code>outer</code> - whether we're outer-joining to this type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the select is required, false otherwise</dd>
</dl>
</li>
</ul>
<a name="loadSubclasses-org.apache.openjpa.jdbc.meta.ClassMapping-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>loadSubclasses</h4>
<pre>public&nbsp;void&nbsp;loadSubclasses(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping)</pre>
<div class="block">Makes sure all subclasses of the given type are loaded in the JVM.
This is usually done automatically.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html#loadSubclasses-org.apache.openjpa.jdbc.meta.ClassMapping-">loadSubclasses</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel">JDBCStore</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JDBCStoreManager.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStore.html" title="interface in org.apache.openjpa.jdbc.kernel"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.ClientConnection.html" title="class in org.apache.openjpa.jdbc.kernel"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html" target="_top">Frames</a></li>
<li><a href="JDBCStoreManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2006&#x2013;2019 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>