blob: 323647415b5c85ed44ceec3009aa0a94ba296080 [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_222) on Tue Dec 08 12:28:29 UTC 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Login (EclipseLink 3.0.0, API Reference)</title>
<meta name="date" content="2020-12-08">
<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="Login (EclipseLink 3.0.0, API Reference)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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.0, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/persistence/sessions/JNDIConnector.html" title="class in org.eclipse.persistence.sessions"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/sessions/Login.html" target="_top">Frames</a></li>
<li><a href="Login.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>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.persistence.sessions</div>
<h2 title="Interface Login" class="title">Interface Login</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="../../../../org/eclipse/persistence/core/sessions/CoreLogin.html" title="interface in org.eclipse.persistence.core.sessions">CoreLogin</a>&lt;org.eclipse.persistence.internal.databaseaccess.Platform&gt;</dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../org/eclipse/persistence/sessions/DatabaseLogin.html" title="class in org.eclipse.persistence.sessions">DatabaseLogin</a>, <a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html" title="class in org.eclipse.persistence.sessions">DatasourceLogin</a>, <a href="../../../../org/eclipse/persistence/eis/EISLogin.html" title="class in org.eclipse.persistence.eis">EISLogin</a>, <a href="../../../../org/eclipse/persistence/oxm/XMLLogin.html" title="class in org.eclipse.persistence.oxm">XMLLogin</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">Login</span>
extends <a href="../../../../org/eclipse/persistence/core/sessions/CoreLogin.html" title="interface in org.eclipse.persistence.core.sessions">CoreLogin</a>&lt;org.eclipse.persistence.internal.databaseaccess.Platform&gt;</pre>
<div class="block"><p>
<b>Purpose</b>: Define the information required to connect to an EclipseLink session.
<p>
<b>Description</b>: This interface represents a generic concept of a login to be used
when connecting to a data-store. It is independent of JDBC so that the EclipseLink
session interface can be used for JCA, XML, non-relational or three-tiered frameworks.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/eclipse/persistence/sessions/DatabaseLogin.html" title="class in org.eclipse.persistence.sessions"><code>DatabaseLogin</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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>org.eclipse.persistence.internal.databaseaccess.Accessor</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#buildAccessor--">buildAccessor</a></span>()</code>
<div class="block">INTERNAL:
Build the correct datasource Accessor for this login instance.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#clone--">clone</a></span>()</code>
<div class="block">INTERNAL:
Clone the login.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#connectToDatasource-org.eclipse.persistence.internal.databaseaccess.Accessor-org.eclipse.persistence.sessions.Session-">connectToDatasource</a></span>(org.eclipse.persistence.internal.databaseaccess.Accessor&nbsp;accessor,
<a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;session)</code>
<div class="block">INTERNAL:
Connect to the datasource, and return the driver level connection object.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.databaseaccess.Platform</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#getDatasourcePlatform--">getDatasourcePlatform</a></span>()</code>
<div class="block">PUBLIC:
Return the datasource platform specific information.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#getPassword--">getPassword</a></span>()</code>
<div class="block">PUBLIC:
All logins must take a user name and password.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/eclipse/persistence/platform/database/DatabasePlatform.html" title="class in org.eclipse.persistence.platform.database">DatabasePlatform</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#getPlatform--">getPlatform</a></span>()</code>
<div class="block">INTERNAL:
Return the database platform specific information.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#getProperty-java.lang.String-">getProperty</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">PUBLIC:
The properties are additional, driver-specific, connection information
to be passed to the driver.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#getTableQualifier--">getTableQualifier</a></span>()</code>
<div class="block">PUBLIC:
Return the qualifier for the all of the tables.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#getUserName--">getUserName</a></span>()</code>
<div class="block">PUBLIC:
All logins must take a user name and password.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#isConnectionHealthValidatedOnError--">isConnectionHealthValidatedOnError</a></span>()</code>
<div class="block">PUBLIC:
This value defaults to false when not on a DatabaseLogin as the functionality has not been implemented
for other datasource type.</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/sessions/Login.html#setDatasourcePlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">setDatasourcePlatform</a></span>(org.eclipse.persistence.internal.databaseaccess.Platform&nbsp;platform)</code>
<div class="block">PUBLIC:
Set the database platform specific information.</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/sessions/Login.html#setPassword-java.lang.String-">setPassword</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;password)</code>
<div class="block">PUBLIC:
All logins must take a user name and password.</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/sessions/Login.html#setPlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">setPlatform</a></span>(org.eclipse.persistence.internal.databaseaccess.Platform&nbsp;platform)</code>
<div class="block">INTERNAL:
Set the database platform specific information.</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/sessions/Login.html#setProperties-java.util.Properties-">setProperties</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;properties)</code>
<div class="block">PUBLIC:
The properties are additional, driver-specific, connection information
to be passed to the JDBC driver.</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/sessions/Login.html#setProperty-java.lang.String-java.lang.Object-">setProperty</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;propertyName,
<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;propertyValue)</code>
<div class="block">PUBLIC:
Some JDBC drivers require additional, driver-specific, properties.</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/sessions/Login.html#setUserName-java.lang.String-">setUserName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName)</code>
<div class="block">PUBLIC:
All logins must take a user name and password.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldAllowConcurrentReadWrite--">shouldAllowConcurrentReadWrite</a></span>()</code>
<div class="block">INTERNAL:
Used for cache isolation.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldSynchronizedReadOnWrite--">shouldSynchronizedReadOnWrite</a></span>()</code>
<div class="block">INTERNAL:
Used for cache isolation.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldSynchronizeObjectLevelReadWrite--">shouldSynchronizeObjectLevelReadWrite</a></span>()</code>
<div class="block">INTERNAL:
Used for Cache Isolation.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldSynchronizeObjectLevelReadWriteDatabase--">shouldSynchronizeObjectLevelReadWriteDatabase</a></span>()</code>
<div class="block">INTERNAL:
Used for Cache Isolation.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldSynchronizeWrites--">shouldSynchronizeWrites</a></span>()</code>
<div class="block">INTERNAL:
Used for Cache Isolation.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldUseExternalConnectionPooling--">shouldUseExternalConnectionPooling</a></span>()</code>
<div class="block">PUBLIC:
Return whether EclipseLink uses some externally managed connection pooling.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldUseExternalTransactionController--">shouldUseExternalTransactionController</a></span>()</code>
<div class="block">PUBLIC:
Return whether EclipseLink uses some externally managed transaction service such as JTS.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getPassword--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPassword</h4>
<pre><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;getPassword()</pre>
<div class="block">PUBLIC:
All logins must take a user name and password.</div>
</li>
</ul>
<a name="getUserName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserName</h4>
<pre><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;getUserName()</pre>
<div class="block">PUBLIC:
All logins must take a user name and password.</div>
</li>
</ul>
<a name="isConnectionHealthValidatedOnError--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnectionHealthValidatedOnError</h4>
<pre>boolean&nbsp;isConnectionHealthValidatedOnError()</pre>
<div class="block">PUBLIC:
This value defaults to false when not on a DatabaseLogin as the functionality has not been implemented
for other datasource type. On an SQL Exception EclipseLink will ping the database to determine
if the connection used can continue to be used for queries. This should have no impact on applications
unless the user is using pessimistic locking queries with 'no wait' or are using a query timeout feature.
If that is the case and the application is experiencing a performance impact from the health check then
this feature can be turned off. Turning this feature off will prevent EclipseLink from being able to
retry queries in the case of database failure.</div>
</li>
</ul>
<a name="setPassword-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPassword</h4>
<pre>void&nbsp;setPassword(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</pre>
<div class="block">PUBLIC:
All logins must take a user name and password.</div>
</li>
</ul>
<a name="setUserName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserName</h4>
<pre>void&nbsp;setUserName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName)</pre>
<div class="block">PUBLIC:
All logins must take a user name and password.</div>
</li>
</ul>
<a name="shouldUseExternalConnectionPooling--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldUseExternalConnectionPooling</h4>
<pre>boolean&nbsp;shouldUseExternalConnectionPooling()</pre>
<div class="block">PUBLIC:
Return whether EclipseLink uses some externally managed connection pooling.</div>
</li>
</ul>
<a name="shouldUseExternalTransactionController--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldUseExternalTransactionController</h4>
<pre>boolean&nbsp;shouldUseExternalTransactionController()</pre>
<div class="block">PUBLIC:
Return whether EclipseLink uses some externally managed transaction service such as JTS.</div>
</li>
</ul>
<a name="getPlatform--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlatform</h4>
<pre><a href="../../../../org/eclipse/persistence/platform/database/DatabasePlatform.html" title="class in org.eclipse.persistence.platform.database">DatabasePlatform</a>&nbsp;getPlatform()</pre>
<div class="block">INTERNAL:
Return the database platform specific information.
This allows EclipseLink to configure certain advanced features for the database desired.
The platform also allows configuration of sequence information.
NOTE: this must only be used for relational specific usage and will not work for
non-relational datasources.</div>
</li>
</ul>
<a name="getDatasourcePlatform--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDatasourcePlatform</h4>
<pre>org.eclipse.persistence.internal.databaseaccess.Platform&nbsp;getDatasourcePlatform()</pre>
<div class="block">PUBLIC:
Return the datasource platform specific information.
This allows EclipseLink to configure certain advanced features for the datasource desired.
The platform also allows configuration of sequence information.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/core/sessions/CoreLogin.html#getDatasourcePlatform--">getDatasourcePlatform</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/eclipse/persistence/core/sessions/CoreLogin.html" title="interface in org.eclipse.persistence.core.sessions">CoreLogin</a>&lt;org.eclipse.persistence.internal.databaseaccess.Platform&gt;</code></dd>
</dl>
</li>
</ul>
<a name="setPlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPlatform</h4>
<pre>void&nbsp;setPlatform(org.eclipse.persistence.internal.databaseaccess.Platform&nbsp;platform)</pre>
<div class="block">INTERNAL:
Set the database platform specific information.
This allows EclipseLink to configure certain advanced features for the database desired.
The platform also allows configuration of sequence information.</div>
</li>
</ul>
<a name="setDatasourcePlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDatasourcePlatform</h4>
<pre>void&nbsp;setDatasourcePlatform(org.eclipse.persistence.internal.databaseaccess.Platform&nbsp;platform)</pre>
<div class="block">PUBLIC:
Set the database platform specific information.
This allows EclipseLink to configure certain advanced features for the database desired.
The platform also allows configuration of sequence information.</div>
</li>
</ul>
<a name="connectToDatasource-org.eclipse.persistence.internal.databaseaccess.Accessor-org.eclipse.persistence.sessions.Session-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectToDatasource</h4>
<pre><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;connectToDatasource(org.eclipse.persistence.internal.databaseaccess.Accessor&nbsp;accessor,
<a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a>&nbsp;session)
throws <a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">INTERNAL:
Connect to the datasource, and return the driver level connection object.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></code></dd>
</dl>
</li>
</ul>
<a name="buildAccessor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildAccessor</h4>
<pre>org.eclipse.persistence.internal.databaseaccess.Accessor&nbsp;buildAccessor()</pre>
<div class="block">INTERNAL:
Build the correct datasource Accessor for this login instance.</div>
</li>
</ul>
<a name="clone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a>&nbsp;clone()</pre>
<div class="block">INTERNAL:
Clone the login.</div>
</li>
</ul>
<a name="getTableQualifier--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableQualifier</h4>
<pre><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;getTableQualifier()</pre>
<div class="block">PUBLIC:
Return the qualifier for the all of the tables.</div>
</li>
</ul>
<a name="shouldAllowConcurrentReadWrite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldAllowConcurrentReadWrite</h4>
<pre>boolean&nbsp;shouldAllowConcurrentReadWrite()</pre>
<div class="block">INTERNAL:
Used for cache isolation.</div>
</li>
</ul>
<a name="shouldSynchronizeWrites--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldSynchronizeWrites</h4>
<pre>boolean&nbsp;shouldSynchronizeWrites()</pre>
<div class="block">INTERNAL:
Used for Cache Isolation. Causes EclipseLink to lock at the class level on
cache updates.</div>
</li>
</ul>
<a name="shouldSynchronizeObjectLevelReadWrite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldSynchronizeObjectLevelReadWrite</h4>
<pre>boolean&nbsp;shouldSynchronizeObjectLevelReadWrite()</pre>
<div class="block">INTERNAL:
Used for Cache Isolation. Causes EclipseLink to lock at the object level on
cache updates and cache access.</div>
</li>
</ul>
<a name="shouldSynchronizeObjectLevelReadWriteDatabase--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldSynchronizeObjectLevelReadWriteDatabase</h4>
<pre>boolean&nbsp;shouldSynchronizeObjectLevelReadWriteDatabase()</pre>
<div class="block">INTERNAL:
Used for Cache Isolation. Causes EclipseLink to lock at the object level on
cache updates and cache access, based on database transaction.</div>
</li>
</ul>
<a name="shouldSynchronizedReadOnWrite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldSynchronizedReadOnWrite</h4>
<pre>boolean&nbsp;shouldSynchronizedReadOnWrite()</pre>
<div class="block">INTERNAL:
Used for cache isolation.</div>
</li>
</ul>
<a name="getProperty-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre><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;getProperty(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">PUBLIC:
The properties are additional, driver-specific, connection information
to be passed to the driver.<p>
NOTE: Do not set the password directly by getting the properties and
setting the "password" property directly. Use the method DatabaseLogin.setPassword(String).</div>
</li>
</ul>
<a name="setProperties-java.util.Properties-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProperties</h4>
<pre>void&nbsp;setProperties(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;properties)</pre>
<div class="block">PUBLIC:
The properties are additional, driver-specific, connection information
to be passed to the JDBC driver.</div>
</li>
</ul>
<a name="setProperty-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setProperty</h4>
<pre>void&nbsp;setProperty(<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;propertyName,
<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;propertyValue)</pre>
<div class="block">PUBLIC:
Some JDBC drivers require additional, driver-specific, properties.
Add the specified property to those to be passed to the JDBC driver.</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.0, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/persistence/sessions/JNDIConnector.html" title="class in org.eclipse.persistence.sessions"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/persistence/sessions/Login.html" target="_top">Frames</a></li>
<li><a href="Login.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>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&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;2020 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p>
</body>
</html>