blob: f4e73101706f9bc539fbb3dbb9cdfceee3a9a7cc [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:39:10 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SchemaManager (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="SchemaManager (EclipseLink 3.0.2, API Reference)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"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,"i56":10,"i57":10,"i58":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/eclipse/persistence/tools/schemaframework/PopulationManager.html" title="class in org.eclipse.persistence.tools.schemaframework"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/persistence/tools/schemaframework/SchemaManager.html" target="_top">Frames</a></li>
<li><a href="SchemaManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.persistence.tools.schemaframework</div>
<h2 title="Class SchemaManager" class="title">Class SchemaManager</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.tools.schemaframework.SchemaManager</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DynamicSchemaManager.html" title="class in org.eclipse.persistence.tools.schemaframework">DynamicSchemaManager</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SchemaManager</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block"><p>
<b>Purpose</b>: Define all user level protocol for development time database manipulation.
<p>
<b>Responsibilities</b>:
<ul>
<li> Define protocol for schema creation.
<li> Define any useful testing specific protocol.
</ul></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createDatabaseSchemas">createDatabaseSchemas</a></span></code>
<div class="block">Flag to determine if database schemas should be created during DDL generation</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<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>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createdDatabaseSchemas">createdDatabaseSchemas</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<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>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createdDatabaseSchemasOnDatabase">createdDatabaseSchemasOnDatabase</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createSchemaWriter">createSchemaWriter</a></span></code>&nbsp;</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/tools/schemaframework/SchemaManager.html#createSQLFiles">createSQLFiles</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableCreator.html" title="class in org.eclipse.persistence.tools.schemaframework">TableCreator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#defaultTableCreator">defaultTableCreator</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a>&lt;<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>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#dropDatabaseSchemas">dropDatabaseSchemas</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#dropSchemaWriter">dropSchemaWriter</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#FAST_TABLE_CREATOR">FAST_TABLE_CREATOR</a></span></code>
<div class="block">Allow table creator to occur "fast" by just deleting all the rows.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#FORCE_DROP">FORCE_DROP</a></span></code>
<div class="block">Allow replacing of table to force the drop, this may require several passes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.sessions.DatabaseSessionImpl</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#session">session</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#SchemaManager-org.eclipse.persistence.sessions.DatabaseSession-">SchemaManager</a></span>(<a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>&nbsp;session)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#SchemaManager-org.eclipse.persistence.internal.sessions.DatabaseSessionImpl-">SchemaManager</a></span>(org.eclipse.persistence.internal.sessions.DatabaseSessionImpl&nbsp;session)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#alterSequence-org.eclipse.persistence.tools.schemaframework.SequenceDefinition-">alterSequence</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">SequenceDefinition</a>&nbsp;sequenceDefinition)</code>
<div class="block">Use the definition to alter sequence.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#appendToDDLWriter-java.lang.String-">appendToDDLWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stringToWrite)</code>
<div class="block">PUBLIC: If the schema manager is writing to a writer, append this string
to that writer.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#appendToDDLWriter-java.io.Writer-java.lang.String-">appendToDDLWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;schemaWriter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stringToWrite)</code>&nbsp;</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/tools/schemaframework/SchemaManager.html#buildFieldTypes-org.eclipse.persistence.tools.schemaframework.TableDefinition-">buildFieldTypes</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;tableDef)</code>
<div class="block">INTERNAL:
builds the field names based on the type read in from the builder</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">SequenceDefinition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#buildSequenceDefinition-org.eclipse.persistence.sequencing.Sequence-">buildSequenceDefinition</a></span>(<a href="../../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a>&nbsp;sequence)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">SequenceDefinition</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#buildSequenceDefinitions--">buildSequenceDefinitions</a></span>()</code>
<div class="block">INTERNAL:
Build the sequence definitions.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#checkTableExists-org.eclipse.persistence.tools.schemaframework.TableDefinition-">checkTableExists</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;table)</code>
<div class="block">Check if the table exists by issuing a query.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#checkTableExists-org.eclipse.persistence.tools.schemaframework.TableDefinition-boolean-">checkTableExists</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;table,
boolean&nbsp;suppressLogging)</code>
<div class="block">Check if the table exists by issuing a query.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#closeDDLWriter--">closeDDLWriter</a></span>()</code>
<div class="block">PUBLIC:
Close the schema writer.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#closeDDLWriter-java.io.Writer-">closeDDLWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;schemaWriter)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#collectDatabaseSchemasForDrop-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-">collectDatabaseSchemasForDrop</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseObjectDefinition)</code>
<div class="block">INTERNAL:
Called when dropping tables.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createConstraints-org.eclipse.persistence.tools.schemaframework.TableDefinition-">createConstraints</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;tableDefinition)</code>
<div class="block">Use the table definition to add the constraints to the database, this is normally done
in two steps to avoid dependencies.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createDefaultTables-boolean-">createDefaultTables</a></span>(boolean&nbsp;generateFKConstraints)</code>
<div class="block">Create the default table schema for the project this session associated with.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createObject-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-">createObject</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseObjectDefinition)</code>
<div class="block">Use the definition object to create the schema entity on the database.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createOrReplaceSequences-boolean-">createOrReplaceSequences</a></span>(boolean&nbsp;create)</code>
<div class="block">Common implementor for createSequence and replaceSequence</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createOrReplaceSequences-boolean-boolean-">createOrReplaceSequences</a></span>(boolean&nbsp;createSequenceTables,
boolean&nbsp;createSequences)</code>
<div class="block">Common implementor for createSequence and replaceSequence, distinguishes between sequence tables and sequence objects</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#createSequences--">createSequences</a></span>()</code>
<div class="block">Create all the receiver's sequences on the database for all of the loaded descriptors.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#dropConstraints-org.eclipse.persistence.tools.schemaframework.TableDefinition-">dropConstraints</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;tableDefinition)</code>
<div class="block">Use the table definition to drop the constraints from the table, this is normally done
in two steps to avoid dependencies.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#dropDatabaseSchemas--">dropDatabaseSchemas</a></span>()</code>
<div class="block">INTERNAL:
Iterate over the schemas that need to be dropped.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#dropDefaultTables--">dropDefaultTables</a></span>()</code>
<div class="block">Create the default table schema for the project this session associated with.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#dropObject-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-">dropObject</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseObjectDefinition)</code>
<div class="block">Use the definition object to drop the schema entity from the database.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#dropSequences--">dropSequences</a></span>()</code>
<div class="block">This will drop the database schemas if managing the database schemas.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#dropTable-java.lang.String-">dropTable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</code>
<div class="block">Drop (delete) the table named tableName from the database.</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/tools/schemaframework/SchemaManager.html#extendDefaultTables-boolean-">extendDefaultTables</a></span>(boolean&nbsp;generateFKConstraints)</code>
<div class="block">Create or extend the default table schema for the project this session associated with.</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/tools/schemaframework/SchemaManager.html#finalize--">finalize</a></span>()</code>
<div class="block">INTERNAL:
Close the schema writer when the schema manger is garbage collected</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#generateStoredProcedures--">generateStoredProcedures</a></span>()</code>
<div class="block">PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors.</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/tools/schemaframework/SchemaManager.html#generateStoredProcedures-java.io.Writer-">generateStoredProcedures</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;writer)</code>
<div class="block">PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors.</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/tools/schemaframework/SchemaManager.html#generateStoredProceduresAndAmendmentClass-java.lang.String-java.lang.String-">generateStoredProceduresAndAmendmentClass</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fullyQualifiedClassName)</code>
<div class="block">PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors.</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/tools/schemaframework/SchemaManager.html#generateStoredProceduresAndAmendmentClass-java.io.Writer-java.lang.String-">generateStoredProceduresAndAmendmentClass</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;writer,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fullyQualifiedClassName)</code>
<div class="block">PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getAccessor--">getAccessor</a></span>()</code>
<div class="block">Return the appropriate accessor.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getAllColumnNames-java.lang.String-">getAllColumnNames</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</code>
<div class="block">Get a description of table columns available in a catalog.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getAllColumnNames-java.lang.String-java.lang.String-">getAllColumnNames</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;creatorName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</code>
<div class="block">Get a description of table columns available in a catalog.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getAllTableNames--">getAllTableNames</a></span>()</code>
<div class="block">Get a description of tables available in a catalog.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getAllTableNames-java.lang.String-">getAllTableNames</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;creatorName)</code>
<div class="block">Get a description of table columns available in a catalog.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getColumnInfo-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">getColumnInfo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;catalog,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schema,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;columnName)</code>
<div class="block">Get a description of table columns available in a catalog.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableCreator.html" title="class in org.eclipse.persistence.tools.schemaframework">TableCreator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getDefaultTableCreator-boolean-">getDefaultTableCreator</a></span>(boolean&nbsp;generateFKConstraints)</code>
<div class="block">Construct the default TableCreator.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getDropSchemaWriter--">getDropSchemaWriter</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>org.eclipse.persistence.internal.sessions.AbstractSession</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getSession--">getSession</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getTableInfo-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-">getTableInfo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;catalog,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schema,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;types)</code>
<div class="block">Get a description of tables available in a catalog.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#getWriter-java.lang.String-">getWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fileName)</code>&nbsp;</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/tools/schemaframework/SchemaManager.html#outputCreateDDLToFile-java.lang.String-">outputCreateDDLToFile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fileName)</code>&nbsp;</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/tools/schemaframework/SchemaManager.html#outputCreateDDLToWriter-java.io.Writer-">outputCreateDDLToWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;createWriter)</code>&nbsp;</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/tools/schemaframework/SchemaManager.html#outputDDLToDatabase--">outputDDLToDatabase</a></span>()</code>
<div class="block">PUBLIC:
Output all DDL statements directly to the database.</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/tools/schemaframework/SchemaManager.html#outputDDLToFile-java.lang.String-">outputDDLToFile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fileName)</code>
<div class="block">PUBLIC:
Output all DDL statements to a file writer specified by the name in the parameter.</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/tools/schemaframework/SchemaManager.html#outputDDLToWriter-java.io.Writer-">outputDDLToWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;schemaWriter)</code>
<div class="block">PUBLIC:
Output all DDL statements to a writer specified in the parameter.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#outputDropDDLToFile-java.lang.String-">outputDropDDLToFile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fileName)</code>&nbsp;</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#outputDropDDLToWriter-java.io.Writer-">outputDropDDLToWriter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;dropWriter)</code>&nbsp;</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#processSequenceDefinition-org.eclipse.persistence.tools.schemaframework.SequenceDefinition-boolean-boolean-boolean-java.util.HashSet-java.util.HashSet-">processSequenceDefinition</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">SequenceDefinition</a>&nbsp;definition,
boolean&nbsp;createTables,
boolean&nbsp;createSequences,
boolean&nbsp;replace,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<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>&gt;&nbsp;createdTableNames,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<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>&gt;&nbsp;droppedTableNames)</code>
<div class="block">Method creates database tables/objects.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#processSequenceDefinitions-boolean-boolean-boolean-">processSequenceDefinitions</a></span>(boolean&nbsp;createSequenceTables,
boolean&nbsp;createSequences,
boolean&nbsp;replaceSequences)</code>
<div class="block">Common implementor for createSequence and replaceSequence, distinguishes between sequence tables and sequence objects</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#replaceDefaultTables--">replaceDefaultTables</a></span>()</code>
<div class="block">Drop and recreate the default table schema for the project this session associated with.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#replaceDefaultTables-boolean-boolean-">replaceDefaultTables</a></span>(boolean&nbsp;createSequenceTables,
boolean&nbsp;generateFKConstraints)</code>
<div class="block">Drop and recreate the default table schema for the project this session associated with.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#replaceDefaultTables-boolean-boolean-boolean-">replaceDefaultTables</a></span>(boolean&nbsp;createSequenceTables,
boolean&nbsp;createSequences,
boolean&nbsp;generateFKConstraints)</code>
<div class="block">Drop and recreate the default table schema for the project this session associated with.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#replaceObject-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-">replaceObject</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseDefinition)</code>
<div class="block">Use the definition object to drop and recreate the schema entity on the database.</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/tools/schemaframework/SchemaManager.html#replaceSequences--">replaceSequences</a></span>()</code>
<div class="block">Drop and recreate all the receiver's sequences on the database for all of the loaded descriptors.</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/tools/schemaframework/SchemaManager.html#setCreateDatabaseSchemas-boolean-">setCreateDatabaseSchemas</a></span>(boolean&nbsp;createDatabaseSchemas)</code>
<div class="block">INTERNAL:
Set to true if database schemas should be built during the DDL generation.</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/tools/schemaframework/SchemaManager.html#setCreateSQLFiles-boolean-">setCreateSQLFiles</a></span>(boolean&nbsp;genFlag)</code>&nbsp;</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#setSession-org.eclipse.persistence.internal.sessions.DatabaseSessionImpl-">setSession</a></span>(org.eclipse.persistence.internal.sessions.DatabaseSessionImpl&nbsp;session)</code>&nbsp;</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#shouldCreateDatabaseSchema-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-java.util.Set-">shouldCreateDatabaseSchema</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseObjectDefinition,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<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>&gt;&nbsp;createdDatabaseSchemas)</code>
<div class="block">INTERNAL:
Returns true if a database schema should be created during ddl generation
for the given databaseObjectDefinition.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SchemaManager.html#shouldWriteToDatabase--">shouldWriteToDatabase</a></span>()</code>
<div class="block">PUBLIC:
Return true if this SchemaManager should write to the database directly</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="session">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>session</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.sessions.DatabaseSessionImpl session</pre>
</li>
</ul>
<a name="createSchemaWriter">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSchemaWriter</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> createSchemaWriter</pre>
</li>
</ul>
<a name="dropSchemaWriter">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropSchemaWriter</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> dropSchemaWriter</pre>
</li>
</ul>
<a name="createSQLFiles">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSQLFiles</h4>
<pre>protected&nbsp;boolean createSQLFiles</pre>
</li>
</ul>
<a name="defaultTableCreator">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultTableCreator</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableCreator.html" title="class in org.eclipse.persistence.tools.schemaframework">TableCreator</a> defaultTableCreator</pre>
</li>
</ul>
<a name="FAST_TABLE_CREATOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FAST_TABLE_CREATOR</h4>
<pre>public static&nbsp;boolean FAST_TABLE_CREATOR</pre>
<div class="block">Allow table creator to occur "fast" by just deleting all the rows.</div>
</li>
</ul>
<a name="FORCE_DROP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FORCE_DROP</h4>
<pre>public static&nbsp;boolean FORCE_DROP</pre>
<div class="block">Allow replacing of table to force the drop, this may require several passes.</div>
</li>
</ul>
<a name="createDatabaseSchemas">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDatabaseSchemas</h4>
<pre>protected&nbsp;boolean createDatabaseSchemas</pre>
<div class="block">Flag to determine if database schemas should be created during DDL generation</div>
</li>
</ul>
<a name="createdDatabaseSchemas">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createdDatabaseSchemas</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<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>&gt; createdDatabaseSchemas</pre>
</li>
</ul>
<a name="createdDatabaseSchemasOnDatabase">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createdDatabaseSchemasOnDatabase</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<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>&gt; createdDatabaseSchemasOnDatabase</pre>
</li>
</ul>
<a name="dropDatabaseSchemas">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>dropDatabaseSchemas</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a>&lt;<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>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&gt; dropDatabaseSchemas</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SchemaManager-org.eclipse.persistence.internal.sessions.DatabaseSessionImpl-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SchemaManager</h4>
<pre>public&nbsp;SchemaManager(org.eclipse.persistence.internal.sessions.DatabaseSessionImpl&nbsp;session)</pre>
</li>
</ul>
<a name="SchemaManager-org.eclipse.persistence.sessions.DatabaseSession-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SchemaManager</h4>
<pre>public&nbsp;SchemaManager(<a href="../../../../../org/eclipse/persistence/sessions/DatabaseSession.html" title="interface in org.eclipse.persistence.sessions">DatabaseSession</a>&nbsp;session)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDropSchemaWriter--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDropSchemaWriter</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;getDropSchemaWriter()</pre>
</li>
</ul>
<a name="appendToDDLWriter-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendToDDLWriter</h4>
<pre>public&nbsp;void&nbsp;appendToDDLWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stringToWrite)</pre>
<div class="block">PUBLIC: If the schema manager is writing to a writer, append this string
to that writer.</div>
</li>
</ul>
<a name="appendToDDLWriter-java.io.Writer-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendToDDLWriter</h4>
<pre>public&nbsp;void&nbsp;appendToDDLWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;schemaWriter,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stringToWrite)</pre>
</li>
</ul>
<a name="buildFieldTypes-org.eclipse.persistence.tools.schemaframework.TableDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildFieldTypes</h4>
<pre>public&nbsp;void&nbsp;buildFieldTypes(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;tableDef)</pre>
<div class="block">INTERNAL:
builds the field names based on the type read in from the builder</div>
</li>
</ul>
<a name="closeDDLWriter--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closeDDLWriter</h4>
<pre>public&nbsp;void&nbsp;closeDDLWriter()</pre>
<div class="block">PUBLIC:
Close the schema writer.</div>
</li>
</ul>
<a name="closeDDLWriter-java.io.Writer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closeDDLWriter</h4>
<pre>public&nbsp;void&nbsp;closeDDLWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;schemaWriter)</pre>
</li>
</ul>
<a name="collectDatabaseSchemasForDrop-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>collectDatabaseSchemasForDrop</h4>
<pre>protected&nbsp;void&nbsp;collectDatabaseSchemasForDrop(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseObjectDefinition)</pre>
<div class="block">INTERNAL:
Called when dropping tables. Will build a map of those schemas (and a
table that references it) that should be dropped.</div>
</li>
</ul>
<a name="createConstraints-org.eclipse.persistence.tools.schemaframework.TableDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createConstraints</h4>
<pre>public&nbsp;void&nbsp;createConstraints(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;tableDefinition)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Use the table definition to add the constraints to the database, this is normally done
in two steps to avoid dependencies.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="createObject-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createObject</h4>
<pre>public&nbsp;void&nbsp;createObject(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseObjectDefinition)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Use the definition object to create the schema entity on the database.
This is used for creating tables, views, procedures ... etc ...</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="createSequences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSequences</h4>
<pre>public&nbsp;void&nbsp;createSequences()
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Create all the receiver's sequences on the database for all of the loaded descriptors.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="setCreateDatabaseSchemas-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCreateDatabaseSchemas</h4>
<pre>public&nbsp;void&nbsp;setCreateDatabaseSchemas(boolean&nbsp;createDatabaseSchemas)</pre>
<div class="block">INTERNAL:
Set to true if database schemas should be built during the DDL generation.</div>
</li>
</ul>
<a name="setCreateSQLFiles-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCreateSQLFiles</h4>
<pre>public&nbsp;void&nbsp;setCreateSQLFiles(boolean&nbsp;genFlag)</pre>
</li>
</ul>
<a name="replaceSequences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceSequences</h4>
<pre>public&nbsp;void&nbsp;replaceSequences()
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Drop and recreate all the receiver's sequences on the database for all of the loaded descriptors.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="createOrReplaceSequences-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOrReplaceSequences</h4>
<pre>protected&nbsp;void&nbsp;createOrReplaceSequences(boolean&nbsp;create)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Common implementor for createSequence and replaceSequence</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>create</code> - - true to create the sequences, false to replace them (dropped then create)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="createOrReplaceSequences-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOrReplaceSequences</h4>
<pre>protected&nbsp;void&nbsp;createOrReplaceSequences(boolean&nbsp;createSequenceTables,
boolean&nbsp;createSequences)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Common implementor for createSequence and replaceSequence, distinguishes between sequence tables and sequence objects</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>createSequenceTables</code> - - true to create the sequences tables, false to replace them (dropped then create)</dd>
<dd><code>createSequences</code> - - true to create the sequences objects, false to replace them (dropped then create)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="dropSequences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropSequences</h4>
<pre>protected&nbsp;void&nbsp;dropSequences()</pre>
<div class="block">This will drop the database schemas if managing the database schemas.</div>
</li>
</ul>
<a name="processSequenceDefinition-org.eclipse.persistence.tools.schemaframework.SequenceDefinition-boolean-boolean-boolean-java.util.HashSet-java.util.HashSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>processSequenceDefinition</h4>
<pre>protected&nbsp;void&nbsp;processSequenceDefinition(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">SequenceDefinition</a>&nbsp;definition,
boolean&nbsp;createTables,
boolean&nbsp;createSequences,
boolean&nbsp;replace,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<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>&gt;&nbsp;createdTableNames,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<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>&gt;&nbsp;droppedTableNames)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Method creates database tables/objects. If create is true, it will
attempt to create the object and silently ignore exceptions. If create
is false, it will drop the object ignoring any exceptions, then create
it if the replace flag is true (otherwise a drop only).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>definition</code> - - the sequence definition</dd>
<dd><code>createTables</code> - - true if table sequence table definitions should be created.</dd>
<dd><code>createSequences</code> - - true if the sequence definition should be created,
false if it should be dropped.</dd>
<dd><code>replace</code> - - true if table definitions and sequence definitions should be replaced.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="processSequenceDefinitions-boolean-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>processSequenceDefinitions</h4>
<pre>protected&nbsp;void&nbsp;processSequenceDefinitions(boolean&nbsp;createSequenceTables,
boolean&nbsp;createSequences,
boolean&nbsp;replaceSequences)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Common implementor for createSequence and replaceSequence, distinguishes between sequence tables and sequence objects</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>createSequenceTables</code> - - true to create the sequences tables, false to replace them (dropped then create)</dd>
<dd><code>createSequences</code> - - true to create the sequences objects, false to replace them (dropped then create)</dd>
<dd><code>replaceSequences</code> - - true to actually replace, false to drop only.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="buildSequenceDefinitions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildSequenceDefinitions</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">SequenceDefinition</a>&gt;&nbsp;buildSequenceDefinitions()</pre>
<div class="block">INTERNAL:
Build the sequence definitions.</div>
</li>
</ul>
<a name="checkTableExists-org.eclipse.persistence.tools.schemaframework.TableDefinition-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkTableExists</h4>
<pre>public&nbsp;boolean&nbsp;checkTableExists(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;table,
boolean&nbsp;suppressLogging)</pre>
<div class="block">Check if the table exists by issuing a query.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>table</code> - database table meta-data</dd>
<dd><code>suppressLogging</code> - whether to suppress logging during query execution</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>value of <code>true</code> if given table exists or <code>false</code> otherwise</dd>
</dl>
</li>
</ul>
<a name="checkTableExists-org.eclipse.persistence.tools.schemaframework.TableDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkTableExists</h4>
<pre>public&nbsp;boolean&nbsp;checkTableExists(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;table)</pre>
<div class="block">Check if the table exists by issuing a query.
Logging is suppressed during query execution.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>table</code> - database table meta-data</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>value of <code>true</code> if given table exists or <code>false</code> otherwise</dd>
</dl>
</li>
</ul>
<a name="buildSequenceDefinition-org.eclipse.persistence.sequencing.Sequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildSequenceDefinition</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">SequenceDefinition</a>&nbsp;buildSequenceDefinition(<a href="../../../../../org/eclipse/persistence/sequencing/Sequence.html" title="class in org.eclipse.persistence.sequencing">Sequence</a>&nbsp;sequence)</pre>
</li>
</ul>
<a name="dropConstraints-org.eclipse.persistence.tools.schemaframework.TableDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropConstraints</h4>
<pre>public&nbsp;void&nbsp;dropConstraints(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;tableDefinition)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Use the table definition to drop the constraints from the table, this is normally done
in two steps to avoid dependencies.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="dropObject-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropObject</h4>
<pre>public&nbsp;void&nbsp;dropObject(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseObjectDefinition)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Use the definition object to drop the schema entity from the database.
This is used for dropping tables, views, procedures ... etc ...</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="dropTable-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropTable</h4>
<pre>public&nbsp;void&nbsp;dropTable(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Drop (delete) the table named tableName from the database.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="finalize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>finalize</h4>
<pre>public&nbsp;void&nbsp;finalize()</pre>
<div class="block">INTERNAL:
Close the schema writer when the schema manger is garbage collected</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#finalize--" title="class or interface in java.lang">finalize</a></code>&nbsp;in class&nbsp;<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="generateStoredProcedures--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateStoredProcedures</h4>
<pre>public&nbsp;void&nbsp;generateStoredProcedures()
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors. This should be used with caution as it maintenance
will be high. Stored procedures may be generated either directly on the database
or to a file.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="generateStoredProcedures-java.io.Writer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateStoredProcedures</h4>
<pre>public&nbsp;void&nbsp;generateStoredProcedures(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;writer)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors. This should be used with caution as it maintenance
will be high. Stored procedures may be generated either directly on the database
or to a file.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="generateStoredProceduresAndAmendmentClass-java.io.Writer-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateStoredProceduresAndAmendmentClass</h4>
<pre>public&nbsp;void&nbsp;generateStoredProceduresAndAmendmentClass(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;writer,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fullyQualifiedClassName)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors. This should be used with caution as it maintenance
will be high. Stored procedures may be generated either directly on the database
or to a file.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="generateStoredProceduresAndAmendmentClass-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateStoredProceduresAndAmendmentClass</h4>
<pre>public&nbsp;void&nbsp;generateStoredProceduresAndAmendmentClass(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fullyQualifiedClassName)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">PUBLIC:
Use this method to generate stored procedures based on the dynamic SQL generated
for your mappings and descriptors. This should be used with caution as it maintenance
will be high. Stored procedures may be generated either directly on the database
or to a file.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="getAccessor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessor</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor&nbsp;getAccessor()</pre>
<div class="block">Return the appropriate accessor.
Assume we are dealing with a JDBC accessor.</div>
</li>
</ul>
<a name="getAllColumnNames-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllColumnNames</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;getAllColumnNames(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Get a description of table columns available in a catalog.
<P>Each column description has the following columns:
<OL>
<LI><B>TABLE_CAT</B> String =&gt; table catalog (may be null)
<LI><B>TABLE_SCHEM</B> String =&gt; table schema (may be null)
<LI><B>TABLE_NAME</B> String =&gt; table name
<LI><B>COLUMN_NAME</B> String =&gt; column name
<LI><B>DATA_TYPE</B> short =&gt; SQL type from java.sql.Types
<LI><B>TYPE_NAME</B> String =&gt; Data source dependent type name
<LI><B>COLUMN_SIZE</B> int =&gt; column size. For char or date
types this is the maximum number of characters, for numeric or
decimal types this is precision.
<LI><B>BUFFER_LENGTH</B> is not used.
<LI><B>DECIMAL_DIGITS</B> int =&gt; the number of fractional digits
<LI><B>NUM_PREC_RADIX</B> int =&gt; Radix (typically either 10 or 2)
<LI><B>NULLABLE</B> int =&gt; is NULL allowed?
<UL>
<LI> columnNoNulls - might not allow NULL values
<LI> columnNullable - definitely allows NULL values
<LI> columnNullableUnknown - nullability unknown
</UL>
<LI><B>REMARKS</B> String =&gt; comment describing column (may be null)
<LI><B>COLUMN_DEF</B> String =&gt; default value (may be null)
<LI><B>SQL_DATA_TYPE</B> int =&gt; unused
<LI><B>SQL_DATETIME_SUB</B> int =&gt; unused
<LI><B>CHAR_OCTET_LENGTH</B> int =&gt; for char types the
maximum number of bytes in the column
<LI><B>ORDINAL_POSITION</B> int =&gt; index of column in table
(starting at 1)
<LI><B>IS_NULLABLE</B> String =&gt; "NO" means column definitely
does not allow NULL values; "YES" means the column might
allow NULL values. An empty string means nobody knows.
</OL></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tableName</code> - a table name pattern</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Vector of Records.</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="getAllColumnNames-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllColumnNames</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;getAllColumnNames(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;creatorName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Get a description of table columns available in a catalog.
<P>Each column description has the following columns:
<OL>
<LI><B>TABLE_CAT</B> String =&gt; table catalog (may be null)
<LI><B>TABLE_SCHEM</B> String =&gt; table schema (may be null)
<LI><B>TABLE_NAME</B> String =&gt; table name
<LI><B>COLUMN_NAME</B> String =&gt; column name
<LI><B>DATA_TYPE</B> short =&gt; SQL type from java.sql.Types
<LI><B>TYPE_NAME</B> String =&gt; Data source dependent type name
<LI><B>COLUMN_SIZE</B> int =&gt; column size. For char or date
types this is the maximum number of characters, for numeric or
decimal types this is precision.
<LI><B>BUFFER_LENGTH</B> is not used.
<LI><B>DECIMAL_DIGITS</B> int =&gt; the number of fractional digits
<LI><B>NUM_PREC_RADIX</B> int =&gt; Radix (typically either 10 or 2)
<LI><B>NULLABLE</B> int =&gt; is NULL allowed?
<UL>
<LI> columnNoNulls - might not allow NULL values
<LI> columnNullable - definitely allows NULL values
<LI> columnNullableUnknown - nullability unknown
</UL>
<LI><B>REMARKS</B> String =&gt; comment describing column (may be null)
<LI><B>COLUMN_DEF</B> String =&gt; default value (may be null)
<LI><B>SQL_DATA_TYPE</B> int =&gt; unused
<LI><B>SQL_DATETIME_SUB</B> int =&gt; unused
<LI><B>CHAR_OCTET_LENGTH</B> int =&gt; for char types the
maximum number of bytes in the column
<LI><B>ORDINAL_POSITION</B> int =&gt; index of column in table
(starting at 1)
<LI><B>IS_NULLABLE</B> String =&gt; "NO" means column definitely
does not allow NULL values; "YES" means the column might
allow NULL values. An empty string means nobody knows.
</OL></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>creatorName</code> - a schema name pattern; "" retrieves those
without a schema</dd>
<dd><code>tableName</code> - a table name pattern</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Vector of Records.</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="getAllTableNames--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllTableNames</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;getAllTableNames()
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Get a description of tables available in a catalog.
<P>Each table description has the following columns:
<OL>
<LI><B>TABLE_CAT</B> String =&gt; table catalog (may be null)
<LI><B>TABLE_SCHEM</B> String =&gt; table schema (may be null)
<LI><B>TABLE_NAME</B> String =&gt; table name
<LI><B>TABLE_TYPE</B> String =&gt; table type. Typical types are "TABLE",
"VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY",
"LOCAL TEMPORARY", "ALIAS", "SYNONYM".
<LI><B>REMARKS</B> String =&gt; explanatory comment on the table
</OL>
<P><B>Note:</B> Some databases may not return information for
all tables.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Vector of Records.</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="getAllTableNames-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllTableNames</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;getAllTableNames(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;creatorName)
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Get a description of table columns available in a catalog.
<P>Each column description has the following columns:
<OL>
<LI><B>TABLE_CAT</B> String =&gt; table catalog (may be null)
<LI><B>TABLE_SCHEM</B> String =&gt; table schema (may be null)
<LI><B>TABLE_NAME</B> String =&gt; table name
<LI><B>COLUMN_NAME</B> String =&gt; column name
<LI><B>DATA_TYPE</B> short =&gt; SQL type from java.sql.Types
<LI><B>TYPE_NAME</B> String =&gt; Data source dependent type name
<LI><B>COLUMN_SIZE</B> int =&gt; column size. For char or date
types this is the maximum number of characters, for numeric or
decimal types this is precision.
<LI><B>BUFFER_LENGTH</B> is not used.
<LI><B>DECIMAL_DIGITS</B> int =&gt; the number of fractional digits
<LI><B>NUM_PREC_RADIX</B> int =&gt; Radix (typically either 10 or 2)
<LI><B>NULLABLE</B> int =&gt; is NULL allowed?
<UL>
<LI> columnNoNulls - might not allow NULL values
<LI> columnNullable - definitely allows NULL values
<LI> columnNullableUnknown - nullability unknown
</UL>
<LI><B>REMARKS</B> String =&gt; comment describing column (may be null)
<LI><B>COLUMN_DEF</B> String =&gt; default value (may be null)
<LI><B>SQL_DATA_TYPE</B> int =&gt; unused
<LI><B>SQL_DATETIME_SUB</B> int =&gt; unused
<LI><B>CHAR_OCTET_LENGTH</B> int =&gt; for char types the
maximum number of bytes in the column
<LI><B>ORDINAL_POSITION</B> int =&gt; index of column in table
(starting at 1)
<LI><B>IS_NULLABLE</B> String =&gt; "NO" means column definitely
does not allow NULL values; "YES" means the column might
allow NULL values. An empty string means nobody knows.
</OL></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>creatorName</code> - a schema name pattern; "" retrieves those
without a schema</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Vector of Records.</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="getColumnInfo-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnInfo</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;getColumnInfo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;catalog,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schema,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;columnName)
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Get a description of table columns available in a catalog.
<P>Only column descriptions matching the catalog, schema, table
and column name criteria are returned. They are ordered by
TABLE_SCHEM, TABLE_NAME and ORDINAL_POSITION.
<P>Each column description has the following columns:
<OL>
<LI><B>TABLE_CAT</B> String =&gt; table catalog (may be null)
<LI><B>TABLE_SCHEM</B> String =&gt; table schema (may be null)
<LI><B>TABLE_NAME</B> String =&gt; table name
<LI><B>COLUMN_NAME</B> String =&gt; column name
<LI><B>DATA_TYPE</B> short =&gt; SQL type from java.sql.Types
<LI><B>TYPE_NAME</B> String =&gt; Data source dependent type name
<LI><B>COLUMN_SIZE</B> int =&gt; column size. For char or date
types this is the maximum number of characters, for numeric or
decimal types this is precision.
<LI><B>BUFFER_LENGTH</B> is not used.
<LI><B>DECIMAL_DIGITS</B> int =&gt; the number of fractional digits
<LI><B>NUM_PREC_RADIX</B> int =&gt; Radix (typically either 10 or 2)
<LI><B>NULLABLE</B> int =&gt; is NULL allowed?
<UL>
<LI> columnNoNulls - might not allow NULL values
<LI> columnNullable - definitely allows NULL values
<LI> columnNullableUnknown - nullability unknown
</UL>
<LI><B>REMARKS</B> String =&gt; comment describing column (may be null)
<LI><B>COLUMN_DEF</B> String =&gt; default value (may be null)
<LI><B>SQL_DATA_TYPE</B> int =&gt; unused
<LI><B>SQL_DATETIME_SUB</B> int =&gt; unused
<LI><B>CHAR_OCTET_LENGTH</B> int =&gt; for char types the
maximum number of bytes in the column
<LI><B>ORDINAL_POSITION</B> int =&gt; index of column in table
(starting at 1)
<LI><B>IS_NULLABLE</B> String =&gt; "NO" means column definitely
does not allow NULL values; "YES" means the column might
allow NULL values. An empty string means nobody knows.
</OL></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>catalog</code> - a catalog name; "" retrieves those without a
catalog; null means drop catalog name from the selection criteria</dd>
<dd><code>schema</code> - a schema name pattern; "" retrieves those
without a schema</dd>
<dd><code>tableName</code> - a table name pattern</dd>
<dd><code>columnName</code> - a column name pattern</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Vector of Records.</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="getSession--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSession</h4>
<pre>public&nbsp;org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;getSession()</pre>
</li>
</ul>
<a name="getTableInfo-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableInfo</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a>&nbsp;getTableInfo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;catalog,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schema,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;types)
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Get a description of tables available in a catalog.
<P>Only table descriptions matching the catalog, schema, table
name and type criteria are returned. They are ordered by
TABLE_TYPE, TABLE_SCHEM and TABLE_NAME.
<P>Each table description has the following columns:
<OL>
<LI><B>TABLE_CAT</B> String =&gt; table catalog (may be null)
<LI><B>TABLE_SCHEM</B> String =&gt; table schema (may be null)
<LI><B>TABLE_NAME</B> String =&gt; table name
<LI><B>TABLE_TYPE</B> String =&gt; table type. Typical types are "TABLE",
"VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY",
"LOCAL TEMPORARY", "ALIAS", "SYNONYM".
<LI><B>REMARKS</B> String =&gt; explanatory comment on the table
</OL>
<P><B>Note:</B> Some databases may not return information for
all tables.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>catalog</code> - a catalog name; "" retrieves those without a
catalog; null means drop catalog name from the selection criteria</dd>
<dd><code>schema</code> - a schema name pattern; "" retrieves those
without a schema</dd>
<dd><code>tableName</code> - a table name pattern</dd>
<dd><code>types</code> - a list of table types to include; null returns all types</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Vector of Records.</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="outputDDLToDatabase--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outputDDLToDatabase</h4>
<pre>public&nbsp;void&nbsp;outputDDLToDatabase()</pre>
<div class="block">PUBLIC:
Output all DDL statements directly to the database.</div>
</li>
</ul>
<a name="outputDDLToFile-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outputDDLToFile</h4>
<pre>public&nbsp;void&nbsp;outputDDLToFile(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fileName)</pre>
<div class="block">PUBLIC:
Output all DDL statements to a file writer specified by the name in the parameter.</div>
</li>
</ul>
<a name="outputCreateDDLToFile-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outputCreateDDLToFile</h4>
<pre>public&nbsp;void&nbsp;outputCreateDDLToFile(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fileName)</pre>
</li>
</ul>
<a name="outputDropDDLToFile-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outputDropDDLToFile</h4>
<pre>public&nbsp;void&nbsp;outputDropDDLToFile(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fileName)</pre>
</li>
</ul>
<a name="getWriter-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWriter</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;getWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fileName)</pre>
</li>
</ul>
<a name="outputDDLToWriter-java.io.Writer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outputDDLToWriter</h4>
<pre>public&nbsp;void&nbsp;outputDDLToWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;schemaWriter)</pre>
<div class="block">PUBLIC:
Output all DDL statements to a writer specified in the parameter.</div>
</li>
</ul>
<a name="outputCreateDDLToWriter-java.io.Writer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outputCreateDDLToWriter</h4>
<pre>public&nbsp;void&nbsp;outputCreateDDLToWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;createWriter)</pre>
</li>
</ul>
<a name="outputDropDDLToWriter-java.io.Writer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>outputDropDDLToWriter</h4>
<pre>public&nbsp;void&nbsp;outputDropDDLToWriter(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;dropWriter)</pre>
</li>
</ul>
<a name="replaceObject-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceObject</h4>
<pre>public&nbsp;void&nbsp;replaceObject(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseDefinition)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Use the definition object to drop and recreate the schema entity on the database.
This is used for dropping tables, views, procedures ... etc ...
This handles and ignore any database error while dropping in case the object did not previously exist.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="getDefaultTableCreator-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultTableCreator</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableCreator.html" title="class in org.eclipse.persistence.tools.schemaframework">TableCreator</a>&nbsp;getDefaultTableCreator(boolean&nbsp;generateFKConstraints)</pre>
<div class="block">Construct the default TableCreator.
If the default TableCreator is already created, just returns it.</div>
</li>
</ul>
<a name="createDefaultTables-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDefaultTables</h4>
<pre>public&nbsp;void&nbsp;createDefaultTables(boolean&nbsp;generateFKConstraints)</pre>
<div class="block">Create the default table schema for the project this session associated with.</div>
</li>
</ul>
<a name="dropDatabaseSchemas--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropDatabaseSchemas</h4>
<pre>public&nbsp;void&nbsp;dropDatabaseSchemas()</pre>
<div class="block">INTERNAL:
Iterate over the schemas that need to be dropped.</div>
</li>
</ul>
<a name="dropDefaultTables--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropDefaultTables</h4>
<pre>public&nbsp;void&nbsp;dropDefaultTables()</pre>
<div class="block">Create the default table schema for the project this session associated with.</div>
</li>
</ul>
<a name="replaceDefaultTables--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceDefaultTables</h4>
<pre>public&nbsp;void&nbsp;replaceDefaultTables()
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Drop and recreate the default table schema for the project this session associated with.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="replaceDefaultTables-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceDefaultTables</h4>
<pre>public&nbsp;void&nbsp;replaceDefaultTables(boolean&nbsp;createSequenceTables,
boolean&nbsp;generateFKConstraints)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Drop and recreate the default table schema for the project this session associated with.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="replaceDefaultTables-boolean-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceDefaultTables</h4>
<pre>public&nbsp;void&nbsp;replaceDefaultTables(boolean&nbsp;createSequenceTables,
boolean&nbsp;createSequences,
boolean&nbsp;generateFKConstraints)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Drop and recreate the default table schema for the project this session associated with.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="setSession-org.eclipse.persistence.internal.sessions.DatabaseSessionImpl-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSession</h4>
<pre>public&nbsp;void&nbsp;setSession(org.eclipse.persistence.internal.sessions.DatabaseSessionImpl&nbsp;session)</pre>
</li>
</ul>
<a name="shouldCreateDatabaseSchema-org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldCreateDatabaseSchema</h4>
<pre>protected&nbsp;boolean&nbsp;shouldCreateDatabaseSchema(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a>&nbsp;databaseObjectDefinition,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<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>&gt;&nbsp;createdDatabaseSchemas)</pre>
<div class="block">INTERNAL:
Returns true if a database schema should be created during ddl generation
for the given databaseObjectDefinition.</div>
</li>
</ul>
<a name="shouldWriteToDatabase--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldWriteToDatabase</h4>
<pre>public&nbsp;boolean&nbsp;shouldWriteToDatabase()</pre>
<div class="block">PUBLIC:
Return true if this SchemaManager should write to the database directly</div>
</li>
</ul>
<a name="alterSequence-org.eclipse.persistence.tools.schemaframework.SequenceDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>alterSequence</h4>
<pre>public&nbsp;void&nbsp;alterSequence(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">SequenceDefinition</a>&nbsp;sequenceDefinition)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Use the definition to alter sequence.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
<a name="extendDefaultTables-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>extendDefaultTables</h4>
<pre>public&nbsp;void&nbsp;extendDefaultTables(boolean&nbsp;generateFKConstraints)
throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre>
<div class="block">Create or extend the default table schema for the project this session associated with.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="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/tools/schemaframework/PopulationManager.html" title="class in org.eclipse.persistence.tools.schemaframework"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/persistence/tools/schemaframework/SequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/persistence/tools/schemaframework/SchemaManager.html" target="_top">Frames</a></li>
<li><a href="SchemaManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p>
</body>
</html>