| <!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:03 UTC 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>DatasourceLogin (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="DatasourceLogin (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":9,"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,"i52":10,"i53":10,"i54":10,"i55":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/persistence/sessions/DefaultConnector.html" title="class in org.eclipse.persistence.sessions"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/persistence/sessions/DatasourceLogin.html" target="_top">Frames</a></li> |
| <li><a href="DatasourceLogin.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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="Class DatasourceLogin" class="title">Class DatasourceLogin</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.sessions.DatasourceLogin</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="../../../../org/eclipse/persistence/core/sessions/CoreLogin.html" title="interface in org.eclipse.persistence.core.sessions">CoreLogin</a><org.eclipse.persistence.internal.databaseaccess.Platform>, <a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../org/eclipse/persistence/sessions/DatabaseLogin.html" title="class in org.eclipse.persistence.sessions">DatabaseLogin</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 abstract class <span class="typeNameLabel">DatasourceLogin</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/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></pre> |
| <div class="block"><p> |
| <b>Purpose</b>: |
| Hold the configuration information necessary to connect to a datasource. |
| <p> |
| <b>Description</b>: |
| This is an abstract class that defines the common datasource independent connection configuration. |
| It is extended to support specific datasources such as JDBC, JCA, XML, etc.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../serialized-form.html#org.eclipse.persistence.sessions.DatasourceLogin">Serialized Form</a></dd> |
| </dl> |
| </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"> </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 int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#cacheTransactionIsolation">cacheTransactionIsolation</a></span></code> |
| <div class="block">By default concurrency is optimized and the cache is not locked during reads or writes, |
| This allows for concurrent reading and writing and should never cause any problems.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#CONCURRENT_READ_WRITE">CONCURRENT_READ_WRITE</a></span></code> |
| <div class="block">Reads and unit of work merges can occur concurrently.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/sessions/Connector.html" title="interface in org.eclipse.persistence.sessions">Connector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#connector">connector</a></span></code> |
| <div class="block">Provide a little flexibility for connecting to a database</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.persistence.internal.databaseaccess.Platform</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#platform">platform</a></span></code> |
| <div class="block">Implementation of platform-specific behaviors.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#properties">properties</a></span></code> |
| <div class="block">Connection properties (e.g.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#SYNCHRONIZED_READ_ON_WRITE">SYNCHRONIZED_READ_ON_WRITE</a></span></code> |
| <div class="block">Reads and unit of work merges will be serialized.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#SYNCHRONIZED_WRITE">SYNCHRONIZED_WRITE</a></span></code> |
| <div class="block">Reads can occur concurrently but unit of work merges will be serialized.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#SYNCRONIZED_OBJECT_LEVEL_READ_WRITE">SYNCRONIZED_OBJECT_LEVEL_READ_WRITE</a></span></code> |
| <div class="block">Writes to the cache (merge, object build/refresh will be synchronized |
| as will cache access (cloning) based on when access is required.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE">SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE</a></span></code> |
| <div class="block">Writes to the cache (merge, object build/refresh will be synchronized |
| as will cache access (cloning) based on database transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#usesExternalConnectionPooling">usesExternalConnectionPooling</a></span></code> |
| <div class="block">True if we use an external connection pool such as WebLogic's JTS driver</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#usesExternalTransactionController">usesExternalTransactionController</a></span></code> |
| <div class="block">True if we should use some external transaction service such as JTS.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <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/DatasourceLogin.html#versionString">versionString</a></span></code> </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"> </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/sessions/DatasourceLogin.html#DatasourceLogin--">DatasourceLogin</a></span>()</code> |
| <div class="block">PUBLIC: |
| Create a new login.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#DatasourceLogin-org.eclipse.persistence.internal.databaseaccess.Platform-">DatasourceLogin</a></span>(org.eclipse.persistence.internal.databaseaccess.Platform databasePlatform)</code> |
| <div class="block">ADVANCED: |
| Create a new login for the given platform.</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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#addSequence-org.eclipse.persistence.sequencing.Sequence-">addSequence</a></span>(<a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a> sequence)</code> |
| <div class="block">Add sequence corresponding to the name |
| Don't use if the session is connected.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html" title="class in org.eclipse.persistence.sessions">DatasourceLogin</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.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/DatasourceLogin.html#connectToDatasource-org.eclipse.persistence.internal.databaseaccess.Accessor-org.eclipse.persistence.sessions.Session-">connectToDatasource</a></span>(org.eclipse.persistence.internal.databaseaccess.Accessor accessor, |
| <a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a> 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>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#dontUseExternalConnectionPooling--">dontUseExternalConnectionPooling</a></span>()</code> |
| <div class="block">PUBLIC: |
| Do not use external connection pooling.</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/eclipse/persistence/sessions/DatasourceLogin.html#dontUseExternalTransactionController--">dontUseExternalTransactionController</a></span>()</code> |
| <div class="block">PUBLIC: |
| Let EclipseLink control transactions instead of some external transaction |
| service such as JTS.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getCacheTransactionIsolation--">getCacheTransactionIsolation</a></span>()</code> |
| <div class="block">ADVANCED: |
| By default concurrency is optimized and the cache is not locked more than required during reads or writes, |
| This allows for virtual concurrent reading and writing and should never cause any problems.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/sessions/Connector.html" title="interface in org.eclipse.persistence.sessions">Connector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getConnector--">getConnector</a></span>()</code> |
| <div class="block">ADVANCED: |
| Return the connector that will instantiate the connection.</div> |
| </td> |
| </tr> |
| <tr id="i7" 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/DatasourceLogin.html#getDatasourcePlatform--">getDatasourcePlatform</a></span>()</code> |
| <div class="block">PUBLIC: |
| Return the datasource platform specific information.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getDefaultSequence--">getDefaultSequence</a></span>()</code> |
| <div class="block">Get default sequence</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getDefaultSequenceToWrite--">getDefaultSequenceToWrite</a></span>()</code> |
| <div class="block">INTERNAL: |
| Used only for writing the login into XML or Java.</div> |
| </td> |
| </tr> |
| <tr id="i10" 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/DatasourceLogin.html#getPassword--">getPassword</a></span>()</code> |
| <div class="block">Return the password.</div> |
| </td> |
| </tr> |
| <tr id="i11" 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/DatasourceLogin.html#getPlatform--">getPlatform</a></span>()</code> |
| <div class="block">INTERNAL: |
| Return the database platform specific information.</div> |
| </td> |
| </tr> |
| <tr id="i12" 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/DatasourceLogin.html#getPlatformClassName--">getPlatformClassName</a></span>()</code> |
| <div class="block">INTERNAL: |
| Return the name of the database platform class.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getProperties--">getProperties</a></span>()</code> |
| <div class="block">INTERNAL: |
| The properties are additional, driver-specific, connection information |
| to be passed to the driver.</div> |
| </td> |
| </tr> |
| <tr id="i14" 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/DatasourceLogin.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> 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="i15" class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.persistence.internal.security.SecurableObjectHolder</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getSecurableObjectHolder--">getSecurableObjectHolder</a></span>()</code> |
| <div class="block">INTERNAL: |
| Return the encryption securable holder.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getSequence-java.lang.String-">getSequence</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> seqName)</code> |
| <div class="block">Get sequence corresponding to the name</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getSequences--">getSequences</a></span>()</code> |
| <div class="block">Returns a map of sequence names to Sequences (may be null).</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#getSequencesToWrite--">getSequencesToWrite</a></span>()</code> |
| <div class="block">INTERNAL: |
| Used only for writing the login into XML or Java.</div> |
| </td> |
| </tr> |
| <tr id="i19" 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/DatasourceLogin.html#getTableQualifier--">getTableQualifier</a></span>()</code> |
| <div class="block">PUBLIC: |
| Return the qualifier for the all of the tables referenced by EclipseLink.</div> |
| </td> |
| </tr> |
| <tr id="i20" 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/DatasourceLogin.html#getUserName--">getUserName</a></span>()</code> |
| <div class="block">PUBLIC: |
| The user name is the database login name.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static <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/DatasourceLogin.html#getVersion--">getVersion</a></span>()</code> |
| <div class="block">PUBLIC: |
| Return the EclipseLink version.</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/DatasourceLogin.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="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#removeAllSequences--">removeAllSequences</a></span>()</code> |
| <div class="block">Remove all sequences but the default one.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#removeProperty-java.lang.String-">removeProperty</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> propertyName)</code> |
| <div class="block">PUBLIC: |
| Some drivers don't like the "user" and "password" properties.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#removeSequence-java.lang.String-">removeSequence</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> seqName)</code> |
| <div class="block">Remove sequence corresponding to name.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setCacheTransactionIsolation-int-">setCacheTransactionIsolation</a></span>(int cacheTransactionIsolation)</code> |
| <div class="block">ADVANCED: |
| By default concurrency is optimized and the cache is not locked more than required during reads or writes, |
| This allows for virtual concurrent reading and writing and should never cause any problems.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setConnector-org.eclipse.persistence.sessions.Connector-">setConnector</a></span>(<a href="../../../../org/eclipse/persistence/sessions/Connector.html" title="interface in org.eclipse.persistence.sessions">Connector</a> connector)</code> |
| <div class="block">PUBLIC: |
| Set the connector that will instantiate the connection.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setDatasourcePlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">setDatasourcePlatform</a></span>(org.eclipse.persistence.internal.databaseaccess.Platform platform)</code> |
| <div class="block">PUBLIC: |
| Set the database platform specific information.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setDefaultNullValue-java.lang.Class-java.lang.Object-">setDefaultNullValue</a></span>(<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> type, |
| <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> value)</code> |
| <div class="block">PUBLIC: |
| The default value to substitute for database NULLs can be configured |
| on a per-class basis.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setDefaultSequence-org.eclipse.persistence.sequencing.Sequence-">setDefaultSequence</a></span>(<a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a> sequence)</code> |
| <div class="block">Set default sequence</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setEncryptedPassword-java.lang.String-">setEncryptedPassword</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> password)</code> |
| <div class="block">Set the encrypted password.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setEncryptionClassName-java.lang.String-">setEncryptionClassName</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> encryptionClassName)</code> |
| <div class="block">Sets the encryption class name</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.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> password)</code> |
| <div class="block">Set the password.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setPlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">setPlatform</a></span>(org.eclipse.persistence.internal.databaseaccess.Platform platform)</code> |
| <div class="block">INTERNAL: |
| Set the database platform specific information.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setPlatformClassName-java.lang.String-">setPlatformClassName</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> platformClassName)</code> |
| <div class="block">INTERNAL: |
| Set the name of the Platform to be used.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setPlatformClassName-java.lang.String-java.lang.ClassLoader-">setPlatformClassName</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> platformClassName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> loader)</code> |
| <div class="block">INTERNAL: |
| Set the name of the Platform to be created using the |
| passed in class loader.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.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> 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="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.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> 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> propertyValue)</code> |
| <div class="block">PUBLIC: |
| Some JDBC drivers require additional, driver-specific, properties.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setSequences-java.util.Map-">setSequences</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> sequences)</code> |
| <div class="block">INTERNAL: |
| Used only for reading the login from XML.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setTableQualifier-java.lang.String-">setTableQualifier</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> qualifier)</code> |
| <div class="block">PUBLIC: |
| Set the default qualifier for all tables.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setTimestampQuery-org.eclipse.persistence.queries.ValueReadQuery-">setTimestampQuery</a></span>(<a href="../../../../org/eclipse/persistence/queries/ValueReadQuery.html" title="class in org.eclipse.persistence.queries">ValueReadQuery</a> timestampQuery)</code> |
| <div class="block">PUBLIC: |
| Override the default query for returning a timestamp from the server.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.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> name)</code> |
| <div class="block">PUBLIC: |
| The user name is the database login name.</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/eclipse/persistence/sessions/DatasourceLogin.html#setUsesExternalConnectionPooling-boolean-">setUsesExternalConnectionPooling</a></span>(boolean usesExternalConnectionPooling)</code> |
| <div class="block">PUBLIC: |
| Return whether EclipseLink uses some external connection pooling service such as a JDBC 2.0 driver.</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/eclipse/persistence/sessions/DatasourceLogin.html#setUsesExternalTransactionController-boolean-">setUsesExternalTransactionController</a></span>(boolean usesExternalTransactionController)</code> |
| <div class="block">PUBLIC: |
| Return whether EclipseLink uses some external transaction service such as JTS.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#shouldAllowConcurrentReadWrite--">shouldAllowConcurrentReadWrite</a></span>()</code> |
| <div class="block">INTERNAL: |
| Used for cache isolation.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#shouldSynchronizedReadOnWrite--">shouldSynchronizedReadOnWrite</a></span>()</code> |
| <div class="block">INTERNAL: |
| Used for cache isolation.</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/eclipse/persistence/sessions/DatasourceLogin.html#shouldSynchronizeObjectLevelReadWrite--">shouldSynchronizeObjectLevelReadWrite</a></span>()</code> |
| <div class="block">INTERNAL: |
| Used for Cache Isolation.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#shouldSynchronizeObjectLevelReadWriteDatabase--">shouldSynchronizeObjectLevelReadWriteDatabase</a></span>()</code> |
| <div class="block">INTERNAL: |
| Used for Cache Isolation.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#shouldSynchronizeWrites--">shouldSynchronizeWrites</a></span>()</code> |
| <div class="block">INTERNAL: |
| Used for Cache Isolation.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#shouldUseExternalConnectionPooling--">shouldUseExternalConnectionPooling</a></span>()</code> |
| <div class="block">PUBLIC: |
| Return whether EclipseLink uses some external connection pooling |
| (e.g.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#shouldUseExternalTransactionController--">shouldUseExternalTransactionController</a></span>()</code> |
| <div class="block">PUBLIC: |
| Return whether EclipseLink uses some external transaction service such as JTS.</div> |
| </td> |
| </tr> |
| <tr id="i52" 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/DatasourceLogin.html#toString--">toString</a></span>()</code> |
| <div class="block">PUBLIC: |
| Print all of the connection information.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#useExternalConnectionPooling--">useExternalConnectionPooling</a></span>()</code> |
| <div class="block">PUBLIC: |
| Use external connection pooling.</div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#useExternalTransactionController--">useExternalTransactionController</a></span>()</code> |
| <div class="block">PUBLIC: |
| Use an external transaction controller such as a JTS service</div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#usePlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">usePlatform</a></span>(org.eclipse.persistence.internal.databaseaccess.Platform platform)</code> |
| <div class="block">ADVANCED: |
| Set the database platform to be custom platform.</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 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#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#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> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.sessions.Login"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.persistence.sessions.<a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></h3> |
| <code><a href="../../../../org/eclipse/persistence/sessions/Login.html#buildAccessor--">buildAccessor</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="versionString"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>versionString</h4> |
| <pre>public static <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> versionString</pre> |
| </li> |
| </ul> |
| <a name="properties"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>properties</h4> |
| <pre>protected <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> properties</pre> |
| <div class="block">Connection properties (e.g. user, password, and driver-specific settings)</div> |
| </li> |
| </ul> |
| <a name="platform"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>platform</h4> |
| <pre>protected org.eclipse.persistence.internal.databaseaccess.Platform platform</pre> |
| <div class="block">Implementation of platform-specific behaviors.</div> |
| </li> |
| </ul> |
| <a name="connector"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>connector</h4> |
| <pre>protected <a href="../../../../org/eclipse/persistence/sessions/Connector.html" title="interface in org.eclipse.persistence.sessions">Connector</a> connector</pre> |
| <div class="block">Provide a little flexibility for connecting to a database</div> |
| </li> |
| </ul> |
| <a name="usesExternalConnectionPooling"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>usesExternalConnectionPooling</h4> |
| <pre>protected boolean usesExternalConnectionPooling</pre> |
| <div class="block">True if we use an external connection pool such as WebLogic's JTS driver</div> |
| </li> |
| </ul> |
| <a name="usesExternalTransactionController"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>usesExternalTransactionController</h4> |
| <pre>protected boolean usesExternalTransactionController</pre> |
| <div class="block">True if we should use some external transaction service such as JTS.</div> |
| </li> |
| </ul> |
| <a name="cacheTransactionIsolation"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cacheTransactionIsolation</h4> |
| <pre>protected int cacheTransactionIsolation</pre> |
| <div class="block">By default concurrency is optimized and the cache is not locked during reads or writes, |
| This allows for concurrent reading and writing and should never cause any problems. If the application |
| uses no form of locking the last unit of work to merge changes will win, with no locking it is possible |
| only under this scenario for two unit of works to merge changes different than the database although highly unlikely |
| and if occurred is the entire purpose of locking. This property allows for the isolation level of changes to the |
| cache to be configured for sever situation and it is not suggest that this be changed.</div> |
| </li> |
| </ul> |
| <a name="CONCURRENT_READ_WRITE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CONCURRENT_READ_WRITE</h4> |
| <pre>public static final int CONCURRENT_READ_WRITE</pre> |
| <div class="block">Reads and unit of work merges can occur concurrently.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.persistence.sessions.DatasourceLogin.CONCURRENT_READ_WRITE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="SYNCHRONIZED_WRITE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SYNCHRONIZED_WRITE</h4> |
| <pre>public static final int SYNCHRONIZED_WRITE</pre> |
| <div class="block">Reads can occur concurrently but unit of work merges will be serialized.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.persistence.sessions.DatasourceLogin.SYNCHRONIZED_WRITE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="SYNCHRONIZED_READ_ON_WRITE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SYNCHRONIZED_READ_ON_WRITE</h4> |
| <pre>public static final int SYNCHRONIZED_READ_ON_WRITE</pre> |
| <div class="block">Reads and unit of work merges will be serialized.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.persistence.sessions.DatasourceLogin.SYNCHRONIZED_READ_ON_WRITE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="SYNCRONIZED_OBJECT_LEVEL_READ_WRITE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SYNCRONIZED_OBJECT_LEVEL_READ_WRITE</h4> |
| <pre>public static final int SYNCRONIZED_OBJECT_LEVEL_READ_WRITE</pre> |
| <div class="block">Writes to the cache (merge, object build/refresh will be synchronized |
| as will cache access (cloning) based on when access is required.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.persistence.sessions.DatasourceLogin.SYNCRONIZED_OBJECT_LEVEL_READ_WRITE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE</h4> |
| <pre>public static final int SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE</pre> |
| <div class="block">Writes to the cache (merge, object build/refresh will be synchronized |
| as will cache access (cloning) based on database transaction.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.persistence.sessions.DatasourceLogin.SYNCRONIZED_OBJECT_LEVEL_READ_WRITE_DATABASE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DatasourceLogin--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DatasourceLogin</h4> |
| <pre>public DatasourceLogin()</pre> |
| <div class="block">PUBLIC: |
| Create a new login.</div> |
| </li> |
| </ul> |
| <a name="DatasourceLogin-org.eclipse.persistence.internal.databaseaccess.Platform-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DatasourceLogin</h4> |
| <pre>public DatasourceLogin(org.eclipse.persistence.internal.databaseaccess.Platform databasePlatform)</pre> |
| <div class="block">ADVANCED: |
| Create a new login for the given platform.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getSecurableObjectHolder--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSecurableObjectHolder</h4> |
| <pre>protected org.eclipse.persistence.internal.security.SecurableObjectHolder getSecurableObjectHolder()</pre> |
| <div class="block">INTERNAL: |
| Return the encryption securable holder. |
| Lazy initialize to handle serialization.</div> |
| </li> |
| </ul> |
| <a name="clone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html" title="class in org.eclipse.persistence.sessions">DatasourceLogin</a> clone()</pre> |
| <div class="block">INTERNAL: |
| Clone the login. |
| This also clones the platform as it is internal to the login.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#clone--">clone</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><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></code> in class <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></dd> |
| </dl> |
| </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>public <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> connectToDatasource(org.eclipse.persistence.internal.databaseaccess.Accessor accessor, |
| <a href="../../../../org/eclipse/persistence/sessions/Session.html" title="interface in org.eclipse.persistence.sessions">Session</a> 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="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#connectToDatasource-org.eclipse.persistence.internal.databaseaccess.Accessor-org.eclipse.persistence.sessions.Session-">connectToDatasource</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| <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="getCacheTransactionIsolation--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCacheTransactionIsolation</h4> |
| <pre>public int getCacheTransactionIsolation()</pre> |
| <div class="block">ADVANCED: |
| By default concurrency is optimized and the cache is not locked more than required during reads or writes, |
| This allows for virtual concurrent reading and writing and should never cause any problems. If the application |
| uses no form of locking the last unit of work to merge changes will win, with no locking it is possible |
| only under this scenario for two unit of works to merge changes different than the database although highly unlikely |
| and if occurred is the entire purpose of locking and locking is the suggested solution if this is a problem. |
| This property allows for the isolation level of changes to the |
| cache to be configured for sever situations and it is not suggest that this be changed. |
| <p>Setting are:<ul> |
| <li>ConcurrentReadWrite - default |
| <li>SynchronizedWrite - only allow a single writer (i.e. unit of work merge) to the cache at once |
| <li>SynchronizedReadOnWrite - do not allow reading or other unit of work merge while a unit of work is in merge</ul></div> |
| </li> |
| </ul> |
| <a name="getConnector--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConnector</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/sessions/Connector.html" title="interface in org.eclipse.persistence.sessions">Connector</a> getConnector()</pre> |
| <div class="block">ADVANCED: |
| Return the connector that will instantiate the connection.</div> |
| </li> |
| </ul> |
| <a name="getPlatform--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPlatform</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/platform/database/DatabasePlatform.html" title="class in org.eclipse.persistence.platform.database">DatabasePlatform</a> getPlatform()</pre> |
| <div class="block">INTERNAL: |
| Return the database platform specific information. |
| This allows EclipseLink to configure certain advanced features for the database desired. |
| NOTE: this must only be used for relational specific usage and will not work for |
| non-relational datasources.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#getPlatform--">getPlatform</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDatasourcePlatform--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDatasourcePlatform</h4> |
| <pre>public org.eclipse.persistence.internal.databaseaccess.Platform getDatasourcePlatform()</pre> |
| <div class="block">PUBLIC: |
| Return the datasource platform specific information. |
| This allows EclipseLink to configure certain advanced features for the datasource desired.</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> in interface <code><a href="../../../../org/eclipse/persistence/core/sessions/CoreLogin.html" title="interface in org.eclipse.persistence.core.sessions">CoreLogin</a><org.eclipse.persistence.internal.databaseaccess.Platform></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#getDatasourcePlatform--">getDatasourcePlatform</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getProperties--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProperties</h4> |
| <pre>public <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> getProperties()</pre> |
| <div class="block">INTERNAL: |
| 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="getProperty-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProperty</h4> |
| <pre>public <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> 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> 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> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#getProperty-java.lang.String-">getProperty</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTableQualifier--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTableQualifier</h4> |
| <pre>public <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> getTableQualifier()</pre> |
| <div class="block">PUBLIC: |
| Return the qualifier for the all of the tables referenced by EclipseLink. |
| This can be the creator of the table or database name the table exists on. |
| This is required by some databases such as Oracle and DB2. |
| This should only be used if all of the tables have the same qualifier. |
| It can also be set on each descriptor when the table name is specified.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#getTableQualifier--">getTableQualifier</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getUserName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUserName</h4> |
| <pre>public <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> getUserName()</pre> |
| <div class="block">PUBLIC: |
| The user name is the database login name. |
| Some databases do not require a user name or the user is obtained from the OS, |
| in this case the user name not be specified.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#getUserName--">getUserName</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isConnectionHealthValidatedOnError--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isConnectionHealthValidatedOnError</h4> |
| <pre>public boolean 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> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#isConnectionHealthValidatedOnError--">isConnectionHealthValidatedOnError</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getVersion--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVersion</h4> |
| <pre>public static <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> getVersion()</pre> |
| <div class="block">PUBLIC: |
| Return the EclipseLink version.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>version of EclipseLink</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeProperty-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeProperty</h4> |
| <pre>public void removeProperty(<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> propertyName)</pre> |
| <div class="block">PUBLIC: |
| Some drivers don't like the "user" and "password" properties. |
| They can be removed with this method, or by using setUserName(null) / setPassword(null)</div> |
| </li> |
| </ul> |
| <a name="setCacheTransactionIsolation-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCacheTransactionIsolation</h4> |
| <pre>public void setCacheTransactionIsolation(int cacheTransactionIsolation)</pre> |
| <div class="block">ADVANCED: |
| By default concurrency is optimized and the cache is not locked more than required during reads or writes, |
| This allows for virtual concurrent reading and writing and should never cause any problems. If the application |
| uses no form of locking the last unit of work to merge changes will win, with no locking it is possible |
| only under this scenario for two unit of works to merge changes different than the database although highly unlikely |
| and if occurred is the entire purpose of locking and locking is the suggested solution if this is a problem. |
| This property allows for the isolation level of changes to the |
| cache to be configured for sever situations and it is not suggest that this be changed. |
| <p>Setting are:<ul> |
| <li>ConcurrentReadWrite - default |
| <li>SynchronizedWrite - only allow a single writer (i.e. unit of work merge) to the cache at once |
| <li>SynchronizedReadOnWrite - do not allow reading or other unit of work merge while a unit of work is in merge</ul></div> |
| </li> |
| </ul> |
| <a name="setConnector-org.eclipse.persistence.sessions.Connector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConnector</h4> |
| <pre>public void setConnector(<a href="../../../../org/eclipse/persistence/sessions/Connector.html" title="interface in org.eclipse.persistence.sessions">Connector</a> connector)</pre> |
| <div class="block">PUBLIC: |
| Set the connector that will instantiate the connection. |
| As an example, to use a JNDI-supplied <code>DataSource</code>, use code |
| something like the following: |
| <blockquote><code> |
| session.getLogin().setConnector(new JNDIConnector(context, dataSourceName));<br> |
| session.login(); |
| </code></blockquote> |
| where the <code>context</code> is an instance of a <code>javax.naming.Context</code> and |
| the <code>dataSourceName</code> refers to the name of the <code>DataSource</code> |
| within the context.</div> |
| </li> |
| </ul> |
| <a name="setDefaultNullValue-java.lang.Class-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultNullValue</h4> |
| <pre>public void setDefaultNullValue(<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> type, |
| <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> value)</pre> |
| <div class="block">PUBLIC: |
| The default value to substitute for database NULLs can be configured |
| on a per-class basis. |
| Example: login.setDefaultNullValue(long.class, new Long(0))</div> |
| </li> |
| </ul> |
| <a name="setPassword-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPassword</h4> |
| <pre>public void 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> password)</pre> |
| <div class="block">Set the password.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#setPassword-java.lang.String-">setPassword</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPassword--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPassword</h4> |
| <pre>public <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> getPassword()</pre> |
| <div class="block">Return the password. It will be encrypted.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#getPassword--">getPassword</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setEncryptedPassword-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEncryptedPassword</h4> |
| <pre>public void setEncryptedPassword(<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> password)</pre> |
| <div class="block">Set the encrypted password.</div> |
| </li> |
| </ul> |
| <a name="setEncryptionClassName-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEncryptionClassName</h4> |
| <pre>public void setEncryptionClassName(<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> encryptionClassName)</pre> |
| <div class="block">Sets the encryption class name</div> |
| </li> |
| </ul> |
| <a name="setPlatform-org.eclipse.persistence.internal.databaseaccess.Platform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPlatform</h4> |
| <pre>public void setPlatform(org.eclipse.persistence.internal.databaseaccess.Platform platform)</pre> |
| <div class="block">INTERNAL: |
| Set the database platform specific information. |
| This allows EclipseLink to configure certain advanced features for the database desired.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#setPlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">setPlatform</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDatasourcePlatform-org.eclipse.persistence.internal.databaseaccess.Platform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDatasourcePlatform</h4> |
| <pre>public void setDatasourcePlatform(org.eclipse.persistence.internal.databaseaccess.Platform platform)</pre> |
| <div class="block">PUBLIC: |
| Set the database platform specific information. |
| This allows EclipseLink to configure certain advanced features for the database desired.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#setDatasourcePlatform-org.eclipse.persistence.internal.databaseaccess.Platform-">setDatasourcePlatform</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPlatformClassName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPlatformClassName</h4> |
| <pre>public <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> getPlatformClassName()</pre> |
| <div class="block">INTERNAL: |
| Return the name of the database platform class.</div> |
| </li> |
| </ul> |
| <a name="setPlatformClassName-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPlatformClassName</h4> |
| <pre>public void setPlatformClassName(<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> platformClassName) |
| throws <a href="../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Set the name of the Platform to be used. |
| Creates a new instance of the specified Class.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPlatformClassName-java.lang.String-java.lang.ClassLoader-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPlatformClassName</h4> |
| <pre>public void setPlatformClassName(<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> platformClassName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> loader) |
| throws <a href="../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Set the name of the Platform to be created using the |
| passed in class loader. If no class loader is passed |
| in, of if an exception is thrown, call the |
| setPlatformClassName method with no classloader.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#setPlatformClassName-java.lang.String-"><code>setPlatformClassName(String platformClassName)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="usePlatform-org.eclipse.persistence.internal.databaseaccess.Platform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>usePlatform</h4> |
| <pre>public void usePlatform(org.eclipse.persistence.internal.databaseaccess.Platform platform)</pre> |
| <div class="block">ADVANCED: |
| Set the database platform to be custom platform.</div> |
| </li> |
| </ul> |
| <a name="setProperties-java.util.Properties-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setProperties</h4> |
| <pre>public void 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> properties)</pre> |
| <div class="block">PUBLIC: |
| The properties are additional, driver-specific, connection information |
| to be passed to the JDBC driver.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#setProperties-java.util.Properties-">setProperties</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setProperty-java.lang.String-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setProperty</h4> |
| <pre>public void 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> 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> 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> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#setProperty-java.lang.String-java.lang.Object-">setProperty</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTableQualifier-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTableQualifier</h4> |
| <pre>public void setTableQualifier(<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> qualifier)</pre> |
| <div class="block">PUBLIC: |
| Set the default qualifier for all tables. |
| This can be the creator of the table or database name the table exists on. |
| This is required by some databases such as Oracle and DB2.</div> |
| </li> |
| </ul> |
| <a name="setTimestampQuery-org.eclipse.persistence.queries.ValueReadQuery-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTimestampQuery</h4> |
| <pre>public void setTimestampQuery(<a href="../../../../org/eclipse/persistence/queries/ValueReadQuery.html" title="class in org.eclipse.persistence.queries">ValueReadQuery</a> timestampQuery)</pre> |
| <div class="block">PUBLIC: |
| Override the default query for returning a timestamp from the server.</div> |
| </li> |
| </ul> |
| <a name="setUserName-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUserName</h4> |
| <pre>public void 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> name)</pre> |
| <div class="block">PUBLIC: |
| The user name is the database login name. |
| Some databases do not require a user name or the user is obtained from the OS, |
| in this case this should not be specified.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#setUserName-java.lang.String-">setUserName</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setUsesExternalConnectionPooling-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUsesExternalConnectionPooling</h4> |
| <pre>public void setUsesExternalConnectionPooling(boolean usesExternalConnectionPooling)</pre> |
| <div class="block">PUBLIC: |
| Return whether EclipseLink uses some external connection pooling service such as a JDBC 2.0 driver.</div> |
| </li> |
| </ul> |
| <a name="setUsesExternalTransactionController-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUsesExternalTransactionController</h4> |
| <pre>public void setUsesExternalTransactionController(boolean usesExternalTransactionController)</pre> |
| <div class="block">PUBLIC: |
| Return whether EclipseLink uses some external transaction service such as JTS.</div> |
| </li> |
| </ul> |
| <a name="dontUseExternalConnectionPooling--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dontUseExternalConnectionPooling</h4> |
| <pre>public void dontUseExternalConnectionPooling()</pre> |
| <div class="block">PUBLIC: |
| Do not use external connection pooling. This is appropriate if using regular |
| EclipseLink connection pooling and regular JDBC drivers.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#useExternalConnectionPooling--"><code>useExternalConnectionPooling()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dontUseExternalTransactionController--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dontUseExternalTransactionController</h4> |
| <pre>public void dontUseExternalTransactionController()</pre> |
| <div class="block">PUBLIC: |
| Let EclipseLink control transactions instead of some external transaction |
| service such as JTS.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#useExternalTransactionController--"><code>useExternalTransactionController()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldAllowConcurrentReadWrite--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldAllowConcurrentReadWrite</h4> |
| <pre>public boolean shouldAllowConcurrentReadWrite()</pre> |
| <div class="block">INTERNAL: |
| Used for cache isolation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldAllowConcurrentReadWrite--">shouldAllowConcurrentReadWrite</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldSynchronizedReadOnWrite--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldSynchronizedReadOnWrite</h4> |
| <pre>public boolean shouldSynchronizedReadOnWrite()</pre> |
| <div class="block">INTERNAL: |
| Used for cache isolation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldSynchronizedReadOnWrite--">shouldSynchronizedReadOnWrite</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldSynchronizeWrites--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldSynchronizeWrites</h4> |
| <pre>public boolean shouldSynchronizeWrites()</pre> |
| <div class="block">INTERNAL: |
| Used for Cache Isolation. Causes EclipseLink to lock at the class level on |
| cache updates.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldSynchronizeWrites--">shouldSynchronizeWrites</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldSynchronizeObjectLevelReadWrite--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldSynchronizeObjectLevelReadWrite</h4> |
| <pre>public boolean 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> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldSynchronizeObjectLevelReadWrite--">shouldSynchronizeObjectLevelReadWrite</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldSynchronizeObjectLevelReadWriteDatabase--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldSynchronizeObjectLevelReadWriteDatabase</h4> |
| <pre>public boolean 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> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldSynchronizeObjectLevelReadWriteDatabase--">shouldSynchronizeObjectLevelReadWriteDatabase</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldUseExternalConnectionPooling--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldUseExternalConnectionPooling</h4> |
| <pre>public boolean shouldUseExternalConnectionPooling()</pre> |
| <div class="block">PUBLIC: |
| Return whether EclipseLink uses some external connection pooling |
| (e.g. WebLogic's JTS driver).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldUseExternalConnectionPooling--">shouldUseExternalConnectionPooling</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#useExternalConnectionPooling--"><code>useExternalConnectionPooling()</code></a>, |
| <a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#dontUseExternalConnectionPooling--"><code>dontUseExternalConnectionPooling()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldUseExternalTransactionController--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldUseExternalTransactionController</h4> |
| <pre>public boolean shouldUseExternalTransactionController()</pre> |
| <div class="block">PUBLIC: |
| Return whether EclipseLink uses some external transaction service such as JTS.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/eclipse/persistence/sessions/Login.html#shouldUseExternalTransactionController--">shouldUseExternalTransactionController</a></code> in interface <code><a href="../../../../org/eclipse/persistence/sessions/Login.html" title="interface in org.eclipse.persistence.sessions">Login</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#useExternalTransactionController--"><code>useExternalTransactionController()</code></a>, |
| <a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#dontUseExternalTransactionController--"><code>dontUseExternalTransactionController()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="useExternalConnectionPooling--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>useExternalConnectionPooling</h4> |
| <pre>public void useExternalConnectionPooling()</pre> |
| <div class="block">PUBLIC: |
| Use external connection pooling.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#dontUseExternalConnectionPooling--"><code>dontUseExternalConnectionPooling()</code></a>, |
| <a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#shouldUseExternalConnectionPooling--"><code>shouldUseExternalConnectionPooling()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="useExternalTransactionController--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>useExternalTransactionController</h4> |
| <pre>public void useExternalTransactionController()</pre> |
| <div class="block">PUBLIC: |
| Use an external transaction controller such as a JTS service</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#dontUseExternalTransactionController--"><code>dontUseExternalTransactionController()</code></a>, |
| <a href="../../../../org/eclipse/persistence/sessions/DatasourceLogin.html#shouldUseExternalTransactionController--"><code>shouldUseExternalTransactionController()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <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> toString()</pre> |
| <div class="block">PUBLIC: |
| Print all of the connection information.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><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></code> in class <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></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDefaultSequence--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultSequence</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a> getDefaultSequence()</pre> |
| <div class="block">Get default sequence</div> |
| </li> |
| </ul> |
| <a name="setDefaultSequence-org.eclipse.persistence.sequencing.Sequence-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultSequence</h4> |
| <pre>public void setDefaultSequence(<a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a> sequence)</pre> |
| <div class="block">Set default sequence</div> |
| </li> |
| </ul> |
| <a name="addSequence-org.eclipse.persistence.sequencing.Sequence-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addSequence</h4> |
| <pre>public void addSequence(<a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a> sequence)</pre> |
| <div class="block">Add sequence corresponding to the name |
| Don't use if the session is connected.</div> |
| </li> |
| </ul> |
| <a name="getSequence-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSequence</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a> getSequence(<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> seqName)</pre> |
| <div class="block">Get sequence corresponding to the name</div> |
| </li> |
| </ul> |
| <a name="getSequences--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSequences</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> getSequences()</pre> |
| <div class="block">Returns a map of sequence names to Sequences (may be null).</div> |
| </li> |
| </ul> |
| <a name="removeSequence-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeSequence</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a> removeSequence(<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> seqName)</pre> |
| <div class="block">Remove sequence corresponding to name. |
| Doesn't remove default sequence. |
| Don't use if the session is connected.</div> |
| </li> |
| </ul> |
| <a name="removeAllSequences--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllSequences</h4> |
| <pre>public void removeAllSequences()</pre> |
| <div class="block">Remove all sequences but the default one.</div> |
| </li> |
| </ul> |
| <a name="getDefaultSequenceToWrite--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultSequenceToWrite</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a> getDefaultSequenceToWrite()</pre> |
| <div class="block">INTERNAL: |
| Used only for writing the login into XML or Java.</div> |
| </li> |
| </ul> |
| <a name="getSequencesToWrite--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSequencesToWrite</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> getSequencesToWrite()</pre> |
| <div class="block">INTERNAL: |
| Used only for writing the login into XML or Java.</div> |
| </li> |
| </ul> |
| <a name="setSequences-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setSequences</h4> |
| <pre>public void setSequences(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> sequences)</pre> |
| <div class="block">INTERNAL: |
| Used only for reading the login from XML.</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/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/persistence/sessions/DefaultConnector.html" title="class in org.eclipse.persistence.sessions"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/persistence/sessions/DatasourceLogin.html" target="_top">Frames</a></li> |
| <li><a href="DatasourceLogin.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2007–2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p> |
| </body> |
| </html> |