blob: 471cd73c2af06db9ec6064e2c7138d4d336a8903 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_222) on Tue Dec 08 12:28:32 UTC 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DefaultTableGenerator (EclipseLink 3.0.0, API Reference)</title>
<meta name="date" content="2020-12-08">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultTableGenerator (EclipseLink 3.0.0, API Reference)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.0, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.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/DynamicSchemaManager.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/DefaultTableGenerator.html" target="_top">Frames</a></li>
<li><a href="DefaultTableGenerator.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 DefaultTableGenerator" class="title">Class DefaultTableGenerator</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.DefaultTableGenerator</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">DefaultTableGenerator</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">DefaultTableGenerator is a utility class used to generate a default table schema for a EclipseLink project object.
The utility can be used in EclipseLink CMP for OC4J to perform the table auto creation process, which can be triggered
at deployment time when EclipseLink project descriptor is absent (default mapping) or present.
The utility can also be used to any EclipseLink application to perform the table drop/creation at runtime.
The utility handles all direct/relational mappings, inheritance, multiple tables, interface with/without tables,
optimistic version/timestamp lockings, nested relationships, BLOB/CLOB generation.
The utility is platform-agnostic.
Usage:
- CMP
1. set "autocreate-tables=true|false, autodelete-tables=true|false" in oc4j application deployment
descriptor files (config/system-application.xml, config/application.xml, or orion-application.xml in an .ear)
2. Default Mapping: the same as CMP, plus system properties setting -Declipselink.defaultmapping.autocreate-tables='true|false'
and -Declipselink.defaultmapping.autodelete-tables='true|false'
- Non-CMP:
1. Configuration: through sessions.xml
2. Directly runtime call through schema framework:
SchemaManager mgr = new SchemaManager(session);
mgr.replaceDefaultTables(); //drop and create
mgr.createDefaultTables(); //create only
The utility currently only supports relational project.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>King Wang</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>Oracle TopLink 10.1.3</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField,org.eclipse.persistence.internal.helper.DatabaseField&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#databaseFields">databaseFields</a></span></code>
<div class="block">DatabaseField pool (synchronized with above 'fieldMap')</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.databaseaccess.DatabasePlatform</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#databasePlatform">databasePlatform</a></span></code>
<div class="block">the target database platform.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#fieldMap">fieldMap</a></span></code>
<div class="block">Used to track the field definition: keyed by the database field object, and
valued by the field definition.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#generateFKConstraints">generateFKConstraints</a></span></code>
<div class="block">When this flag is 'false' EclipseLink will not attempt to create fk constraints.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&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/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#tableMap">tableMap</a></span></code>
<div class="block">Used to track the table definition: keyed by the table name, and valued
by the table definition object.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#DefaultTableGenerator-org.eclipse.persistence.sessions.Project-">DefaultTableGenerator</a></span>(<a href="../../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project)</code>
<div class="block">Default constructor</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#DefaultTableGenerator-org.eclipse.persistence.sessions.Project-boolean-">DefaultTableGenerator</a></span>(<a href="../../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project,
boolean&nbsp;generateFKConstraints)</code>
<div class="block">This constructor will create a DefaultTableGenerator that can be set to create fk
constraints</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#addFieldsForMappedKeyMapContainerPolicy-org.eclipse.persistence.internal.queries.ContainerPolicy-org.eclipse.persistence.tools.schemaframework.TableDefinition-">addFieldsForMappedKeyMapContainerPolicy</a></span>(org.eclipse.persistence.internal.queries.ContainerPolicy&nbsp;cp,
<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">The ContainerPolicy may contain some additional fields that should be added to the table</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#addForeignKeyConstraint-org.eclipse.persistence.tools.schemaframework.TableDefinition-org.eclipse.persistence.tools.schemaframework.TableDefinition-java.util.List-java.util.List-boolean-">addForeignKeyConstraint</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;sourceTableDef,
<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;targetTableDef,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fkFields,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;targetFields,
boolean&nbsp;cascadeOnDelete)</code>
<div class="block">Add a foreign key constraint to the source table.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#addForeignKeyFieldToSourceTargetTable-org.eclipse.persistence.mappings.OneToManyMapping-">addForeignKeyFieldToSourceTargetTable</a></span>(<a href="../../../../../org/eclipse/persistence/mappings/OneToManyMapping.html" title="class in org.eclipse.persistence.mappings">OneToManyMapping</a>&nbsp;mapping)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#addForeignKeyFieldToSourceTargetTable-org.eclipse.persistence.mappings.OneToOneMapping-">addForeignKeyFieldToSourceTargetTable</a></span>(<a href="../../../../../org/eclipse/persistence/mappings/OneToOneMapping.html" title="class in org.eclipse.persistence.mappings">OneToOneMapping</a>&nbsp;mapping)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#addForeignMappingFkConstraint-java.util.Map-boolean-">addForeignMappingFkConstraint</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField,org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;srcFields,
boolean&nbsp;cascadeOnDelete)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#addJoinColumnsFkConstraint-java.util.List-java.util.List-boolean-">addJoinColumnsFkConstraint</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;fkFields,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;targetFields,
boolean&nbsp;cascadeOnDelete)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#addUniqueKeyConstraints-org.eclipse.persistence.tools.schemaframework.TableDefinition-java.util.Map-">addUniqueKeyConstraints</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;sourceTableDef,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&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="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt;&nbsp;uniqueConstraintsMap)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#buildDirectCollectionTableDefinition-org.eclipse.persistence.mappings.DirectCollectionMapping-org.eclipse.persistence.descriptors.ClassDescriptor-">buildDirectCollectionTableDefinition</a></span>(<a href="../../../../../org/eclipse/persistence/mappings/DirectCollectionMapping.html" title="class in org.eclipse.persistence.mappings">DirectCollectionMapping</a>&nbsp;mapping,
<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</code>
<div class="block">Build direct collection table definitions in a EclipseLink descriptor</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#buildRelationTableDefinition-org.eclipse.persistence.mappings.ForeignReferenceMapping-org.eclipse.persistence.mappings.RelationTableMechanism-org.eclipse.persistence.internal.helper.DatabaseField-org.eclipse.persistence.internal.queries.ContainerPolicy-">buildRelationTableDefinition</a></span>(<a href="../../../../../org/eclipse/persistence/mappings/ForeignReferenceMapping.html" title="class in org.eclipse.persistence.mappings">ForeignReferenceMapping</a>&nbsp;mapping,
<a href="../../../../../org/eclipse/persistence/mappings/RelationTableMechanism.html" title="class in org.eclipse.persistence.mappings">RelationTableMechanism</a>&nbsp;relationTableMechanism,
org.eclipse.persistence.internal.helper.DatabaseField&nbsp;listOrderField,
org.eclipse.persistence.internal.queries.ContainerPolicy&nbsp;cp)</code>
<div class="block">Build relation table definitions for all many-to-many relationships in a EclipseLink descriptor.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#buildRelationTableFields-org.eclipse.persistence.mappings.ForeignReferenceMapping-org.eclipse.persistence.tools.schemaframework.TableDefinition-java.util.List-java.util.List-">buildRelationTableFields</a></span>(<a href="../../../../../org/eclipse/persistence/mappings/ForeignReferenceMapping.html" title="class in org.eclipse.persistence.mappings">ForeignReferenceMapping</a>&nbsp;mapping,
<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;table,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;fkFields,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;targetFields)</code>
<div class="block">Build field definitions and foreign key constraints for all many-to-many relation table.</div>
</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/DefaultTableGenerator.html#createAggregateTargetTable-org.eclipse.persistence.mappings.AggregateCollectionMapping-">createAggregateTargetTable</a></span>(<a href="../../../../../org/eclipse/persistence/mappings/AggregateCollectionMapping.html" title="class in org.eclipse.persistence.mappings">AggregateCollectionMapping</a>&nbsp;mapping)</code>
<div class="block">Add the foreign key to the aggregate collection mapping target table.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><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/DefaultTableGenerator.html#generateDefaultTableCreator--">generateDefaultTableCreator</a></span>()</code>
<div class="block">Generate a default TableCreator object from the EclipseLink project object.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><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/DefaultTableGenerator.html#generateFilteredDefaultTableCreator-org.eclipse.persistence.internal.sessions.AbstractSession-">generateFilteredDefaultTableCreator</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)</code>
<div class="block">Generate a default TableCreator object from the EclipseLink project object,
and perform the table existence check through jdbc table metadata, and filter out
tables which are already in the database.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#getFieldDefFromDBField-org.eclipse.persistence.internal.helper.DatabaseField-">getFieldDefFromDBField</a></span>(org.eclipse.persistence.internal.helper.DatabaseField&nbsp;dbField)</code>
<div class="block">Build a field definition object from a database field.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#getTableDefFromDBTable-org.eclipse.persistence.internal.helper.DatabaseTable-">getTableDefFromDBTable</a></span>(org.eclipse.persistence.internal.helper.DatabaseTable&nbsp;databaseTable)</code>
<div class="block">Build a table definition object from a database table object</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/DefaultTableGenerator.html#initTableSchema-org.eclipse.persistence.descriptors.ClassDescriptor-">initTableSchema</a></span>(<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</code>
<div class="block">Build tables/fields information into the table creator object from a EclipseLink descriptor.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#postInitTableSchema-org.eclipse.persistence.descriptors.ClassDescriptor-">postInitTableSchema</a></span>(<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</code>
<div class="block">Build additional table/field definitions for the descriptor, like relation table
and direct-collection, direct-map table, as well as reset LOB type for serialized
object mapping and type conversion mapping for LOB usage</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#processAdditionalTablePkFields-org.eclipse.persistence.descriptors.ClassDescriptor-">processAdditionalTablePkFields</a></span>(<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#resetFieldTypeForLOB-org.eclipse.persistence.mappings.DirectToFieldMapping-">resetFieldTypeForLOB</a></span>(<a href="../../../../../org/eclipse/persistence/mappings/DirectToFieldMapping.html" title="class in org.eclipse.persistence.mappings">DirectToFieldMapping</a>&nbsp;mapping)</code>
<div class="block">Reset field type to use BLOB/CLOB with type conversion mapping fix for 4k oracle thin driver bug.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#resetTransformedFieldType-org.eclipse.persistence.mappings.TransformationMapping-">resetTransformedFieldType</a></span>(<a href="../../../../../org/eclipse/persistence/mappings/TransformationMapping.html" title="class in org.eclipse.persistence.mappings">TransformationMapping</a>&nbsp;mapping)</code>
<div class="block">Reset the transformation mapping field types</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>protected org.eclipse.persistence.internal.helper.DatabaseField</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DefaultTableGenerator.html#resolveDatabaseField-org.eclipse.persistence.internal.helper.DatabaseField-org.eclipse.persistence.internal.helper.DatabaseField-">resolveDatabaseField</a></span>(org.eclipse.persistence.internal.helper.DatabaseField&nbsp;childField,
org.eclipse.persistence.internal.helper.DatabaseField&nbsp;parentField)</code>
<div class="block">Resolve the foreign key database field metadata in relation table or direct collection/map table.</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/DefaultTableGenerator.html#setFieldToRelationTable-org.eclipse.persistence.internal.helper.DatabaseField-org.eclipse.persistence.tools.schemaframework.TableDefinition-">setFieldToRelationTable</a></span>(org.eclipse.persistence.internal.helper.DatabaseField&nbsp;dbField,
<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">Build and add a field definition object to relation table</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="databasePlatform">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>databasePlatform</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.databaseaccess.DatabasePlatform databasePlatform</pre>
<div class="block">the target database platform.</div>
</li>
</ul>
<a name="tableMap">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tableMap</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&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/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&gt; tableMap</pre>
<div class="block">Used to track the table definition: keyed by the table name, and valued
by the table definition object.</div>
</li>
</ul>
<a name="fieldMap">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fieldMap</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>&gt; fieldMap</pre>
<div class="block">Used to track the field definition: keyed by the database field object, and
valued by the field definition.</div>
</li>
</ul>
<a name="databaseFields">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>databaseFields</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField,org.eclipse.persistence.internal.helper.DatabaseField&gt; databaseFields</pre>
<div class="block">DatabaseField pool (synchronized with above 'fieldMap')</div>
</li>
</ul>
<a name="generateFKConstraints">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>generateFKConstraints</h4>
<pre>protected&nbsp;boolean generateFKConstraints</pre>
<div class="block">When this flag is 'false' EclipseLink will not attempt to create fk constraints.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DefaultTableGenerator-org.eclipse.persistence.sessions.Project-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DefaultTableGenerator</h4>
<pre>public&nbsp;DefaultTableGenerator(<a href="../../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project)</pre>
<div class="block">Default constructor</div>
</li>
</ul>
<a name="DefaultTableGenerator-org.eclipse.persistence.sessions.Project-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultTableGenerator</h4>
<pre>public&nbsp;DefaultTableGenerator(<a href="../../../../../org/eclipse/persistence/sessions/Project.html" title="class in org.eclipse.persistence.sessions">Project</a>&nbsp;project,
boolean&nbsp;generateFKConstraints)</pre>
<div class="block">This constructor will create a DefaultTableGenerator that can be set to create fk
constraints</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="generateDefaultTableCreator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateDefaultTableCreator</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableCreator.html" title="class in org.eclipse.persistence.tools.schemaframework">TableCreator</a>&nbsp;generateDefaultTableCreator()</pre>
<div class="block">Generate a default TableCreator object from the EclipseLink project object.</div>
</li>
</ul>
<a name="generateFilteredDefaultTableCreator-org.eclipse.persistence.internal.sessions.AbstractSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateFilteredDefaultTableCreator</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableCreator.html" title="class in org.eclipse.persistence.tools.schemaframework">TableCreator</a>&nbsp;generateFilteredDefaultTableCreator(org.eclipse.persistence.internal.sessions.AbstractSession&nbsp;session)
throws <a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></pre>
<div class="block">Generate a default TableCreator object from the EclipseLink project object,
and perform the table existence check through jdbc table metadata, and filter out
tables which are already in the database.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/eclipse/persistence/exceptions/DatabaseException.html" title="class in org.eclipse.persistence.exceptions">DatabaseException</a></code></dd>
</dl>
</li>
</ul>
<a name="initTableSchema-org.eclipse.persistence.descriptors.ClassDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initTableSchema</h4>
<pre>protected&nbsp;void&nbsp;initTableSchema(<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</pre>
<div class="block">Build tables/fields information into the table creator object from a EclipseLink descriptor.
This should handle most of the direct/relational mappings except many-to-many and direct
collection/map mappings, which must be down in postInit method.</div>
</li>
</ul>
<a name="postInitTableSchema-org.eclipse.persistence.descriptors.ClassDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>postInitTableSchema</h4>
<pre>protected&nbsp;void&nbsp;postInitTableSchema(<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</pre>
<div class="block">Build additional table/field definitions for the descriptor, like relation table
and direct-collection, direct-map table, as well as reset LOB type for serialized
object mapping and type conversion mapping for LOB usage</div>
</li>
</ul>
<a name="addFieldsForMappedKeyMapContainerPolicy-org.eclipse.persistence.internal.queries.ContainerPolicy-org.eclipse.persistence.tools.schemaframework.TableDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFieldsForMappedKeyMapContainerPolicy</h4>
<pre>protected&nbsp;void&nbsp;addFieldsForMappedKeyMapContainerPolicy(org.eclipse.persistence.internal.queries.ContainerPolicy&nbsp;cp,
<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">The ContainerPolicy may contain some additional fields that should be added to the table</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>MappedKeyMapContainerPolicy</code></dd>
</dl>
</li>
</ul>
<a name="buildRelationTableDefinition-org.eclipse.persistence.mappings.ForeignReferenceMapping-org.eclipse.persistence.mappings.RelationTableMechanism-org.eclipse.persistence.internal.helper.DatabaseField-org.eclipse.persistence.internal.queries.ContainerPolicy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildRelationTableDefinition</h4>
<pre>protected&nbsp;void&nbsp;buildRelationTableDefinition(<a href="../../../../../org/eclipse/persistence/mappings/ForeignReferenceMapping.html" title="class in org.eclipse.persistence.mappings">ForeignReferenceMapping</a>&nbsp;mapping,
<a href="../../../../../org/eclipse/persistence/mappings/RelationTableMechanism.html" title="class in org.eclipse.persistence.mappings">RelationTableMechanism</a>&nbsp;relationTableMechanism,
org.eclipse.persistence.internal.helper.DatabaseField&nbsp;listOrderField,
org.eclipse.persistence.internal.queries.ContainerPolicy&nbsp;cp)</pre>
<div class="block">Build relation table definitions for all many-to-many relationships in a EclipseLink descriptor.</div>
</li>
</ul>
<a name="buildRelationTableFields-org.eclipse.persistence.mappings.ForeignReferenceMapping-org.eclipse.persistence.tools.schemaframework.TableDefinition-java.util.List-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildRelationTableFields</h4>
<pre>protected&nbsp;void&nbsp;buildRelationTableFields(<a href="../../../../../org/eclipse/persistence/mappings/ForeignReferenceMapping.html" title="class in org.eclipse.persistence.mappings">ForeignReferenceMapping</a>&nbsp;mapping,
<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;table,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;fkFields,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;targetFields)</pre>
<div class="block">Build field definitions and foreign key constraints for all many-to-many relation table.</div>
</li>
</ul>
<a name="buildDirectCollectionTableDefinition-org.eclipse.persistence.mappings.DirectCollectionMapping-org.eclipse.persistence.descriptors.ClassDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildDirectCollectionTableDefinition</h4>
<pre>protected&nbsp;void&nbsp;buildDirectCollectionTableDefinition(<a href="../../../../../org/eclipse/persistence/mappings/DirectCollectionMapping.html" title="class in org.eclipse.persistence.mappings">DirectCollectionMapping</a>&nbsp;mapping,
<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</pre>
<div class="block">Build direct collection table definitions in a EclipseLink descriptor</div>
</li>
</ul>
<a name="resetFieldTypeForLOB-org.eclipse.persistence.mappings.DirectToFieldMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetFieldTypeForLOB</h4>
<pre>protected&nbsp;void&nbsp;resetFieldTypeForLOB(<a href="../../../../../org/eclipse/persistence/mappings/DirectToFieldMapping.html" title="class in org.eclipse.persistence.mappings">DirectToFieldMapping</a>&nbsp;mapping)</pre>
<div class="block">Reset field type to use BLOB/CLOB with type conversion mapping fix for 4k oracle thin driver bug.</div>
</li>
</ul>
<a name="resetTransformedFieldType-org.eclipse.persistence.mappings.TransformationMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetTransformedFieldType</h4>
<pre>protected&nbsp;void&nbsp;resetTransformedFieldType(<a href="../../../../../org/eclipse/persistence/mappings/TransformationMapping.html" title="class in org.eclipse.persistence.mappings">TransformationMapping</a>&nbsp;mapping)</pre>
<div class="block">Reset the transformation mapping field types</div>
</li>
</ul>
<a name="createAggregateTargetTable-org.eclipse.persistence.mappings.AggregateCollectionMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAggregateTargetTable</h4>
<pre>protected&nbsp;void&nbsp;createAggregateTargetTable(<a href="../../../../../org/eclipse/persistence/mappings/AggregateCollectionMapping.html" title="class in org.eclipse.persistence.mappings">AggregateCollectionMapping</a>&nbsp;mapping)</pre>
<div class="block">Add the foreign key to the aggregate collection mapping target table.
Also add listOrderField if specified.</div>
</li>
</ul>
<a name="addForeignKeyFieldToSourceTargetTable-org.eclipse.persistence.mappings.OneToOneMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addForeignKeyFieldToSourceTargetTable</h4>
<pre>protected&nbsp;void&nbsp;addForeignKeyFieldToSourceTargetTable(<a href="../../../../../org/eclipse/persistence/mappings/OneToOneMapping.html" title="class in org.eclipse.persistence.mappings">OneToOneMapping</a>&nbsp;mapping)</pre>
</li>
</ul>
<a name="addForeignKeyFieldToSourceTargetTable-org.eclipse.persistence.mappings.OneToManyMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addForeignKeyFieldToSourceTargetTable</h4>
<pre>protected&nbsp;void&nbsp;addForeignKeyFieldToSourceTargetTable(<a href="../../../../../org/eclipse/persistence/mappings/OneToManyMapping.html" title="class in org.eclipse.persistence.mappings">OneToManyMapping</a>&nbsp;mapping)</pre>
</li>
</ul>
<a name="addForeignMappingFkConstraint-java.util.Map-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addForeignMappingFkConstraint</h4>
<pre>protected&nbsp;void&nbsp;addForeignMappingFkConstraint(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField,org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;srcFields,
boolean&nbsp;cascadeOnDelete)</pre>
</li>
</ul>
<a name="getTableDefFromDBTable-org.eclipse.persistence.internal.helper.DatabaseTable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableDefFromDBTable</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;getTableDefFromDBTable(org.eclipse.persistence.internal.helper.DatabaseTable&nbsp;databaseTable)</pre>
<div class="block">Build a table definition object from a database table object</div>
</li>
</ul>
<a name="resolveDatabaseField-org.eclipse.persistence.internal.helper.DatabaseField-org.eclipse.persistence.internal.helper.DatabaseField-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveDatabaseField</h4>
<pre>protected&nbsp;org.eclipse.persistence.internal.helper.DatabaseField&nbsp;resolveDatabaseField(org.eclipse.persistence.internal.helper.DatabaseField&nbsp;childField,
org.eclipse.persistence.internal.helper.DatabaseField&nbsp;parentField)</pre>
<div class="block">Resolve the foreign key database field metadata in relation table or direct collection/map table.
Those metadata includes type, and maybe dbtype/size/subsize if DatabaseField carries those info.</div>
</li>
</ul>
<a name="getFieldDefFromDBField-org.eclipse.persistence.internal.helper.DatabaseField-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldDefFromDBField</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>&nbsp;getFieldDefFromDBField(org.eclipse.persistence.internal.helper.DatabaseField&nbsp;dbField)</pre>
<div class="block">Build a field definition object from a database field.</div>
</li>
</ul>
<a name="setFieldToRelationTable-org.eclipse.persistence.internal.helper.DatabaseField-org.eclipse.persistence.tools.schemaframework.TableDefinition-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFieldToRelationTable</h4>
<pre>protected&nbsp;void&nbsp;setFieldToRelationTable(org.eclipse.persistence.internal.helper.DatabaseField&nbsp;dbField,
<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">Build and add a field definition object to relation table</div>
</li>
</ul>
<a name="processAdditionalTablePkFields-org.eclipse.persistence.descriptors.ClassDescriptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>processAdditionalTablePkFields</h4>
<pre>protected&nbsp;void&nbsp;processAdditionalTablePkFields(<a href="../../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a>&nbsp;descriptor)</pre>
</li>
</ul>
<a name="addJoinColumnsFkConstraint-java.util.List-java.util.List-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addJoinColumnsFkConstraint</h4>
<pre>protected&nbsp;void&nbsp;addJoinColumnsFkConstraint(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;fkFields,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.eclipse.persistence.internal.helper.DatabaseField&gt;&nbsp;targetFields,
boolean&nbsp;cascadeOnDelete)</pre>
</li>
</ul>
<a name="addForeignKeyConstraint-org.eclipse.persistence.tools.schemaframework.TableDefinition-org.eclipse.persistence.tools.schemaframework.TableDefinition-java.util.List-java.util.List-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addForeignKeyConstraint</h4>
<pre>protected&nbsp;void&nbsp;addForeignKeyConstraint(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;sourceTableDef,
<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;targetTableDef,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fkFields,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;targetFields,
boolean&nbsp;cascadeOnDelete)</pre>
<div class="block">Add a foreign key constraint to the source table.</div>
</li>
</ul>
<a name="addUniqueKeyConstraints-org.eclipse.persistence.tools.schemaframework.TableDefinition-java.util.Map-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>addUniqueKeyConstraints</h4>
<pre>protected&nbsp;void&nbsp;addUniqueKeyConstraints(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a>&nbsp;sourceTableDef,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&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="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt;&nbsp;uniqueConstraintsMap)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.0, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.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/DynamicSchemaManager.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/DefaultTableGenerator.html" target="_top">Frames</a></li>
<li><a href="DefaultTableGenerator.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;2020 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p>
</body>
</html>