blob: fad8ab0d72d89f89968832381b8f6700be00a312 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:39:10 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DevelopmentServices (EclipseLink 3.0.2, API Reference)</title>
<meta name="date" content="2021-07-16">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DevelopmentServices (EclipseLink 3.0.2, API Reference)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/persistence/services/ClassSummaryDetailBase.html" title="class in org.eclipse.persistence.services"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/services/RuntimeServices.html" title="class in org.eclipse.persistence.services"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/services/DevelopmentServices.html" target="_top">Frames</a></li>
<li><a href="DevelopmentServices.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.persistence.services</div>
<h2 title="Class DevelopmentServices" class="title">Class DevelopmentServices</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.services.DevelopmentServices</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/eclipse/persistence/services/mbean/MBeanDevelopmentServices.html" title="class in org.eclipse.persistence.services.mbean">MBeanDevelopmentServices</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">DevelopmentServices</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></pre>
<div class="block"><p>
<b>Purpose</b>: Provide a dynamic interface into the EclipseLink Identity Map Manager.
<p>
<b>Description</b>: This class is meant to provide a framework for gaining access to configuration and
statistics of the EclipseLink Cache during runtime. It will provide the basis for development
of a JMX service and possibly other frameworks.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#session">session</a></span></code>
<div class="block">stores access to the session object that we are controlling</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#DevelopmentServices--">DevelopmentServices</a></span>()</code>
<div class="block">Default constructor</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#DevelopmentServices-org.eclipse.persistence.sessions.Session-">DevelopmentServices</a></span>(<a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;session)</code>
<div class="block">Constructor</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#getSession--">getSession</a></span>()</code>
<div class="block">INTERNAL:</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/eclipse/persistence/services/DevelopmentServices.html#getShouldBindAllParameters--">getShouldBindAllParameters</a></span>()</code>
<div class="block">Method returns if all Parameters should be bound or not</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#getStringBindingSize--">getStringBindingSize</a></span>()</code>
<div class="block">Return the size of strings after which will be bound into the statement</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#getUsesBatchWriting--">getUsesBatchWriting</a></span>()</code>
<div class="block">This method will return if batchWriting is in use or not.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#getUsesByteArrayBinding--">getUsesByteArrayBinding</a></span>()</code>
<div class="block">Shows if Byte Array Binding is turned on or not</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/eclipse/persistence/services/DevelopmentServices.html#getUsesJDBCBatchWriting--">getUsesJDBCBatchWriting</a></span>()</code>
<div class="block">This method will return if batchWriting is in use or not.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#getUsesNativeSQL--">getUsesNativeSQL</a></span>()</code>
<div class="block">Shows if native SQL is being used</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#getUsesStreamsForBinding--">getUsesStreamsForBinding</a></span>()</code>
<div class="block">This method indicates if streams are being used for binding</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#getUsesStringBinding--">getUsesStringBinding</a></span>()</code>
<div class="block">This method indicates if Strings are being bound</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#initializeAllIdentityMaps--">initializeAllIdentityMaps</a></span>()</code>
<div class="block">This method is used to clear the contents of all identity maps.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#initializeIdentityMap-java.lang.String-">initializeIdentityMap</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;className)</code>
<div class="block">This method is used to clear the contents of a particular identity map.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#refreshProject-java.lang.String-">refreshProject</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;projectFilePath)</code>
<div class="block">This method used to reset a project in a session.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setIdentityMapForClass-java.lang.String-java.lang.String-int-">setIdentityMapForClass</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;className,
<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;identityMapClassType,
int&nbsp;maxSize)</code>
<div class="block">This method will be used to set a new type of identity map for a particular class type.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setShouldBindAllParameters-boolean-">setShouldBindAllParameters</a></span>(boolean&nbsp;shouldBindAllParameters)</code>
<div class="block">This method is used to control if All parameters should be bound</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setStringBindingSize-int-">setStringBindingSize</a></span>(int&nbsp;size)</code>
<div class="block">Sets the size of strings after which they will be bound into the statement</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setUsesBatchWriting-boolean-">setUsesBatchWriting</a></span>(boolean&nbsp;usesBatchWriting)</code>
<div class="block">This method is used to turn on EclipseLink Batch Writing.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setUsesByteArrayBinding-boolean-">setUsesByteArrayBinding</a></span>(boolean&nbsp;usesByteArrayBinding)</code>
<div class="block">This method allows control of whether byte arrays should be bound into the statement or not.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setUsesJDBCBatchWriting-boolean-">setUsesJDBCBatchWriting</a></span>(boolean&nbsp;usesJDBCBatchWriting)</code>
<div class="block">This method is used to turn on JDBC Batch Writing.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setUsesNativeSQL-boolean-">setUsesNativeSQL</a></span>(boolean&nbsp;usesNativeSQL)</code>
<div class="block">This method allows the client to set if Native SQL should be used.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setUsesStreamsForBinding-boolean-">setUsesStreamsForBinding</a></span>(boolean&nbsp;usesStreamsForBinding)</code>
<div class="block">This method is used to set if streams should be used for binding.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#setUsesStringBinding-boolean-">setUsesStringBinding</a></span>(boolean&nbsp;usesStringBinding)</code>
<div class="block">Allows the client to set if String should be bound into the statement or not.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/services/DevelopmentServices.html#updateCacheSize-java.lang.String-int-">updateCacheSize</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;className,
int&nbsp;newSize)</code>
<div class="block">This method is used to update the cache size of a particular Identity Map</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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="session">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>session</h4>
<pre>protected&nbsp;<a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a> session</pre>
<div class="block">stores access to the session object that we are controlling</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DevelopmentServices--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DevelopmentServices</h4>
<pre>public&nbsp;DevelopmentServices()</pre>
<div class="block">Default constructor</div>
</li>
</ul>
<a name="DevelopmentServices-org.eclipse.persistence.sessions.Session-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DevelopmentServices</h4>
<pre>public&nbsp;DevelopmentServices(<a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;session)</pre>
<div class="block">Constructor</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session for these services</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="initializeIdentityMap-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeIdentityMap</h4>
<pre>public&nbsp;void&nbsp;initializeIdentityMap(<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;className)
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></pre>
<div class="block">This method is used to clear the contents of a particular identity map. Users should be
aware that if any of these objects are in use when this action is completed they will lose object identity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>className</code> - the fully qualified name of the class for which the identity map should be cleared.</dd>
<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> - thrown then the IdenityMap for that class name could not be found</dd>
</dl>
</li>
</ul>
<a name="initializeAllIdentityMaps--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeAllIdentityMaps</h4>
<pre>public&nbsp;void&nbsp;initializeAllIdentityMaps()</pre>
<div class="block">This method is used to clear the contents of all identity maps. Users should be
aware that if any of these objects are in use when this action is completed they will lose object identity.</div>
</li>
</ul>
<a name="setIdentityMapForClass-java.lang.String-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIdentityMapForClass</h4>
<pre>public&nbsp;void&nbsp;setIdentityMapForClass(<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;className,
<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;identityMapClassType,
int&nbsp;maxSize)
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></pre>
<div class="block">This method will be used to set a new type of identity map for a particular class type. If objects
of that class type are in use loss of object identity will result. For prevention client may wish to
initialize all identity maps first.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>className</code> - the fully qualified className to set the identity map for.</dd>
<dd><code>identityMapClassType</code> - the fully qualified class name of the new identity map type.</dd>
<dd><code>maxSize</code> - the maximum size to be specified for the new identity map.</dd>
<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> - thrown then the IdenityMap for that class name could not be found</dd>
</dl>
</li>
</ul>
<a name="refreshProject-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshProject</h4>
<pre>public&nbsp;void&nbsp;refreshProject(<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;projectFilePath)</pre>
<div class="block">This method used to reset a project in a session. All connected clients will get errors.
project must be of the xml type. This attribute will not be stored on a save.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>projectFilePath</code> - the filename of the project xml file to build the new project from.</dd>
</dl>
</li>
</ul>
<a name="updateCacheSize-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateCacheSize</h4>
<pre>public&nbsp;void&nbsp;updateCacheSize(<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;className,
int&nbsp;newSize)
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></pre>
<div class="block">This method is used to update the cache size of a particular Identity Map</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>className</code> - the name of the class for which to update the identity map size.</dd>
<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> - thrown then the IdenityMap for that class name could not be found</dd>
</dl>
</li>
</ul>
<a name="setShouldBindAllParameters-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShouldBindAllParameters</h4>
<pre>public&nbsp;void&nbsp;setShouldBindAllParameters(boolean&nbsp;shouldBindAllParameters)</pre>
<div class="block">This method is used to control if All parameters should be bound</div>
</li>
</ul>
<a name="getShouldBindAllParameters--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShouldBindAllParameters</h4>
<pre>public&nbsp;boolean&nbsp;getShouldBindAllParameters()</pre>
<div class="block">Method returns if all Parameters should be bound or not</div>
</li>
</ul>
<a name="setStringBindingSize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStringBindingSize</h4>
<pre>public&nbsp;void&nbsp;setStringBindingSize(int&nbsp;size)</pre>
<div class="block">Sets the size of strings after which they will be bound into the statement</div>
</li>
</ul>
<a name="getStringBindingSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringBindingSize</h4>
<pre>public&nbsp;int&nbsp;getStringBindingSize()</pre>
<div class="block">Return the size of strings after which will be bound into the statement</div>
</li>
</ul>
<a name="setUsesBatchWriting-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsesBatchWriting</h4>
<pre>public&nbsp;void&nbsp;setUsesBatchWriting(boolean&nbsp;usesBatchWriting)</pre>
<div class="block">This method is used to turn on EclipseLink Batch Writing. Please note that toggling this
setting while a transaction is open may result in unordered sql statements or loss of statements.
Also please note that EclipseLink Batch Writing may not work with all JDBC Drivers</div>
</li>
</ul>
<a name="getUsesBatchWriting--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsesBatchWriting</h4>
<pre>public&nbsp;boolean&nbsp;getUsesBatchWriting()</pre>
<div class="block">This method will return if batchWriting is in use or not.</div>
</li>
</ul>
<a name="setUsesJDBCBatchWriting-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsesJDBCBatchWriting</h4>
<pre>public&nbsp;void&nbsp;setUsesJDBCBatchWriting(boolean&nbsp;usesJDBCBatchWriting)</pre>
<div class="block">This method is used to turn on JDBC Batch Writing. Please note that toggling this
setting while a transaction is open may result in mis-ordered sql statements or loss of statements.</div>
</li>
</ul>
<a name="getUsesJDBCBatchWriting--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsesJDBCBatchWriting</h4>
<pre>public&nbsp;boolean&nbsp;getUsesJDBCBatchWriting()</pre>
<div class="block">This method will return if batchWriting is in use or not.</div>
</li>
</ul>
<a name="setUsesByteArrayBinding-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsesByteArrayBinding</h4>
<pre>public&nbsp;void&nbsp;setUsesByteArrayBinding(boolean&nbsp;usesByteArrayBinding)</pre>
<div class="block">This method allows control of whether byte arrays should be bound into the statement or not.
Toggling this attribute while an SQL statement is being built, or if you are caching statements, will
result in errors.</div>
</li>
</ul>
<a name="getUsesByteArrayBinding--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsesByteArrayBinding</h4>
<pre>public&nbsp;boolean&nbsp;getUsesByteArrayBinding()</pre>
<div class="block">Shows if Byte Array Binding is turned on or not</div>
</li>
</ul>
<a name="setUsesNativeSQL-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsesNativeSQL</h4>
<pre>public&nbsp;void&nbsp;setUsesNativeSQL(boolean&nbsp;usesNativeSQL)</pre>
<div class="block">This method allows the client to set if Native SQL should be used.</div>
</li>
</ul>
<a name="getUsesNativeSQL--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsesNativeSQL</h4>
<pre>public&nbsp;boolean&nbsp;getUsesNativeSQL()</pre>
<div class="block">Shows if native SQL is being used</div>
</li>
</ul>
<a name="setUsesStreamsForBinding-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsesStreamsForBinding</h4>
<pre>public&nbsp;void&nbsp;setUsesStreamsForBinding(boolean&nbsp;usesStreamsForBinding)</pre>
<div class="block">This method is used to set if streams should be used for binding. Please note that toggling this
attribute while a statement is being built will result in errors.</div>
</li>
</ul>
<a name="getUsesStreamsForBinding--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsesStreamsForBinding</h4>
<pre>public&nbsp;boolean&nbsp;getUsesStreamsForBinding()</pre>
<div class="block">This method indicates if streams are being used for binding</div>
</li>
</ul>
<a name="setUsesStringBinding-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsesStringBinding</h4>
<pre>public&nbsp;void&nbsp;setUsesStringBinding(boolean&nbsp;usesStringBinding)</pre>
<div class="block">Allows the client to set if String should be bound into the statement or not. Please note that
toggling this attribute while a statement is being built, or if statement caching is being used, will result
in errors.</div>
</li>
</ul>
<a name="getUsesStringBinding--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsesStringBinding</h4>
<pre>public&nbsp;boolean&nbsp;getUsesStringBinding()</pre>
<div class="block">This method indicates if Strings are being bound</div>
</li>
</ul>
<a name="getSession--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getSession</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getSession()</pre>
<div class="block">INTERNAL:</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/persistence/services/ClassSummaryDetailBase.html" title="class in org.eclipse.persistence.services"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/services/RuntimeServices.html" title="class in org.eclipse.persistence.services"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/services/DevelopmentServices.html" target="_top">Frames</a></li>
<li><a href="DevelopmentServices.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p>
</body>
</html>