blob: dfc348401ab00751bd5800f5d7a2d895a71a9f4a [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 (version 1.7.0_121) on Fri Jan 06 19:36:33 UTC 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SchemaGenerator (OpenJPA Parent POM 2.4.2 API)</title>
<meta name="date" content="2017-01-06">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SchemaGenerator (OpenJPA Parent POM 2.4.2 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="class-use/SchemaGenerator.html">Use</a></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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaFactory.html" title="interface in org.apache.openjpa.jdbc.schema"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.Event.html" title="class in org.apache.openjpa.jdbc.schema"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/openjpa/jdbc/schema/SchemaGenerator.html" target="_top">Frames</a></li>
<li><a href="SchemaGenerator.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&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>Field&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.apache.openjpa.jdbc.schema</div>
<h2 title="Class SchemaGenerator" class="title">Class SchemaGenerator</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://download.oracle.com/javase/6/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.apache.openjpa.jdbc.schema.SchemaGenerator</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">SchemaGenerator</span>
extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">The SchemaGenerator creates <a href="../../../../../org/apache/openjpa/jdbc/schema/Schema.html" title="class in org.apache.openjpa.jdbc.schema"><code>Schema</code></a>s matching the current
database. All schemas are added to the current <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema"><code>SchemaGroup</code></a>.
Note that tables whose name starts with "OPENJPA_" will be not be added
to the database schema. This enables the creation of special tables
that will never be dropped by the <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaTool.html" title="class in org.apache.openjpa.jdbc.schema"><code>SchemaTool</code></a>.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Abe White</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.Event.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGenerator.Event</a></strong></code>
<div class="block">An event corresponding to the generation of a schema object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.Listener.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaGenerator.Listener</a></strong></code>
<div class="block">A listener for a potentially lengthy schema generation process.</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="overviewSummary" 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><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#SchemaGenerator(org.apache.openjpa.jdbc.conf.JDBCConfiguration)">SchemaGenerator</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf)</code>
<div class="block">Constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#addListener(org.apache.openjpa.jdbc.schema.SchemaGenerator.Listener)">addListener</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.Listener.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaGenerator.Listener</a>&nbsp;l)</code>
<div class="block">Adds a listener for schema generation events.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateForeignKeys(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier[])">generateForeignKeys</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;tableNames)</code>
<div class="block">Generate foreign key information for the given schema.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateForeignKeys(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generateForeignKeys</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateForeignKeys(java.lang.String,%20java.lang.String[])">generateForeignKeys</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;tableNames)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateForeignKeys(java.lang.String,%20java.lang.String,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generateForeignKeys</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>
<div class="block">Generates table foreign keys.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateIndexes(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier[])">generateIndexes</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;tableNames)</code>
<div class="block">Generate index information for the given schema.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateIndexes(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generateIndexes</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateIndexes(java.lang.String,%20java.lang.String[])">generateIndexes</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;tableNames)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateIndexes(java.lang.String,%20java.lang.String,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generateIndexes</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generatePrimaryKeys(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier[])">generatePrimaryKeys</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;tableNames)</code>
<div class="block">Generate primary key information for the given schema.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generatePrimaryKeys(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generatePrimaryKeys</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generatePrimaryKeys(java.lang.String,%20java.lang.String[])">generatePrimaryKeys</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;tableNames)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generatePrimaryKeys(java.lang.String,%20java.lang.String,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generatePrimaryKeys</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchema(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier[])">generateSchema</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;tableNames)</code>
<div class="block">Add a fully-constructed <a href="../../../../../org/apache/openjpa/jdbc/schema/Schema.html" title="class in org.apache.openjpa.jdbc.schema"><code>Schema</code></a> matching the given database
schema to the current group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchema(java.lang.String,%20java.lang.String[])">generateSchema</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;tableNames)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchemas()">generateSchemas</a></strong>()</code>
<div class="block">Generate all schemas set in the configuration.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchemas(org.apache.openjpa.jdbc.identifier.DBIdentifier[])">generateSchemas</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;schemasAndTables)</code>
<div class="block">Generate the schemas and/or tables named in the given strings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchemas(java.lang.String[])">generateSchemas</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;schemasAndTables)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSequences(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generateSequences</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;sequenceName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSequences(java.lang.String,%20java.lang.String,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generateSequences</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sequenceName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateTables(org.apache.openjpa.jdbc.identifier.DBIdentifier,%20org.apache.openjpa.jdbc.identifier.DBIdentifier,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generateTables</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>
<div class="block">Adds all tables matching the given name pattern to the schema.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateTables(java.lang.String,%20java.lang.String,%20java.sql.Connection,%20java.sql.DatabaseMetaData)">generateTables</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#getForeignKeys()">getForeignKeys</a></strong>()</code>
<div class="block">Return whether foreign keys should be generated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#getIndexes()">getIndexes</a></strong>()</code>
<div class="block">Return whether indexes should be generated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#getOpenJPATables()">getOpenJPATables</a></strong>()</code>
<div class="block">Whether to generate info on special tables used by OpenJPA components
for bookkeeping.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#getPrimaryKeys()">getPrimaryKeys</a></strong>()</code>
<div class="block">Return whether primary keys should be generated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#getSchemaGroup()">getSchemaGroup</a></strong>()</code>
<div class="block">Return the current schema group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#getSequences()">getSequences</a></strong>()</code>
<div class="block">Return whether sequences should be generated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#removeListener(org.apache.openjpa.jdbc.schema.SchemaGenerator.Listener)">removeListener</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.Listener.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaGenerator.Listener</a>&nbsp;l)</code>
<div class="block">Removes a schema generation listener for schema events.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#setForeignKeys(boolean)">setForeignKeys</a></strong>(boolean&nbsp;fks)</code>
<div class="block">Set whether foreign keys should be generated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#setIndexes(boolean)">setIndexes</a></strong>(boolean&nbsp;indexes)</code>
<div class="block">Set whether indexes should be generated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#setOpenJPATables(boolean)">setOpenJPATables</a></strong>(boolean&nbsp;openjpaTables)</code>
<div class="block">Whether to generate info on special tables used by OpenJPA components
for bookkeeping.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#setPrimaryKeys(boolean)">setPrimaryKeys</a></strong>(boolean&nbsp;pks)</code>
<div class="block">Set whether primary keys should be generated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#setSchemaGroup(org.apache.openjpa.jdbc.schema.SchemaGroup)">setSchemaGroup</a></strong>(<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</a>&nbsp;group)</code>
<div class="block">Set the schema group to add generated schemas to.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#setSequences(boolean)">setSequences</a></strong>(boolean&nbsp;seqs)</code>
<div class="block">Set whether sequences should be generated.</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="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" 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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SchemaGenerator(org.apache.openjpa.jdbc.conf.JDBCConfiguration)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SchemaGenerator</h4>
<pre>public&nbsp;SchemaGenerator(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf)</pre>
<div class="block">Constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - configuration for connecting to the data store</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getIndexes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndexes</h4>
<pre>public&nbsp;boolean&nbsp;getIndexes()</pre>
<div class="block">Return whether indexes should be generated. Defaults to true.</div>
</li>
</ul>
<a name="setIndexes(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIndexes</h4>
<pre>public&nbsp;void&nbsp;setIndexes(boolean&nbsp;indexes)</pre>
<div class="block">Set whether indexes should be generated. Defaults to true.</div>
</li>
</ul>
<a name="getForeignKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getForeignKeys</h4>
<pre>public&nbsp;boolean&nbsp;getForeignKeys()</pre>
<div class="block">Return whether foreign keys should be generated. Defaults to true.</div>
</li>
</ul>
<a name="setForeignKeys(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setForeignKeys</h4>
<pre>public&nbsp;void&nbsp;setForeignKeys(boolean&nbsp;fks)</pre>
<div class="block">Set whether foreign keys should be generated. Defaults to true.</div>
</li>
</ul>
<a name="getPrimaryKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrimaryKeys</h4>
<pre>public&nbsp;boolean&nbsp;getPrimaryKeys()</pre>
<div class="block">Return whether primary keys should be generated. Defaults to true.</div>
</li>
</ul>
<a name="setPrimaryKeys(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPrimaryKeys</h4>
<pre>public&nbsp;void&nbsp;setPrimaryKeys(boolean&nbsp;pks)</pre>
<div class="block">Set whether primary keys should be generated. Defaults to true.</div>
</li>
</ul>
<a name="getSequences()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSequences</h4>
<pre>public&nbsp;boolean&nbsp;getSequences()</pre>
<div class="block">Return whether sequences should be generated. Defaults to true.</div>
</li>
</ul>
<a name="setSequences(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSequences</h4>
<pre>public&nbsp;void&nbsp;setSequences(boolean&nbsp;seqs)</pre>
<div class="block">Set whether sequences should be generated. Defaults to true.</div>
</li>
</ul>
<a name="getOpenJPATables()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpenJPATables</h4>
<pre>public&nbsp;boolean&nbsp;getOpenJPATables()</pre>
<div class="block">Whether to generate info on special tables used by OpenJPA components
for bookkeeping. Defaults to true.</div>
</li>
</ul>
<a name="setOpenJPATables(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOpenJPATables</h4>
<pre>public&nbsp;void&nbsp;setOpenJPATables(boolean&nbsp;openjpaTables)</pre>
<div class="block">Whether to generate info on special tables used by OpenJPA components
for bookkeeping. Defaults to true.</div>
</li>
</ul>
<a name="getSchemaGroup()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSchemaGroup</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</a>&nbsp;getSchemaGroup()</pre>
<div class="block">Return the current schema group.</div>
</li>
</ul>
<a name="setSchemaGroup(org.apache.openjpa.jdbc.schema.SchemaGroup)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSchemaGroup</h4>
<pre>public&nbsp;void&nbsp;setSchemaGroup(<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</a>&nbsp;group)</pre>
<div class="block">Set the schema group to add generated schemas to.</div>
</li>
</ul>
<a name="generateSchemas()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSchemas</h4>
<pre>public&nbsp;void&nbsp;generateSchemas()
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Generate all schemas set in the configuration. This method also
calls <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateIndexes(java.lang.String,%20java.lang.String[])"><code>generateIndexes(java.lang.String, java.lang.String[])</code></a>, <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generatePrimaryKeys(java.lang.String,%20java.lang.String[])"><code>generatePrimaryKeys(java.lang.String, java.lang.String[])</code></a>, and
<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateForeignKeys(java.lang.String,%20java.lang.String[])"><code>generateForeignKeys(java.lang.String, java.lang.String[])</code></a> automatically.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateSchemas(java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSchemas</h4>
<pre>public&nbsp;void&nbsp;generateSchemas(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;schemasAndTables)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateSchemas(org.apache.openjpa.jdbc.identifier.DBIdentifier[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSchemas</h4>
<pre>public&nbsp;void&nbsp;generateSchemas(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;schemasAndTables)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Generate the schemas and/or tables named in the given strings.
This method calls <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateIndexes(java.lang.String,%20java.lang.String[])"><code>generateIndexes(java.lang.String, java.lang.String[])</code></a>,
<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generatePrimaryKeys(java.lang.String,%20java.lang.String[])"><code>generatePrimaryKeys(java.lang.String, java.lang.String[])</code></a>, and <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateForeignKeys(java.lang.String,%20java.lang.String[])"><code>generateForeignKeys(java.lang.String, java.lang.String[])</code></a>
automatically.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateSchema(java.lang.String, java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSchema</h4>
<pre>public&nbsp;void&nbsp;generateSchema(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;tableNames)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - </dd><dd><code>tableNames</code> - </dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateSchema(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSchema</h4>
<pre>public&nbsp;void&nbsp;generateSchema(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;tableNames)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Add a fully-constructed <a href="../../../../../org/apache/openjpa/jdbc/schema/Schema.html" title="class in org.apache.openjpa.jdbc.schema"><code>Schema</code></a> matching the given database
schema to the current group. No foreign keys are generated because
some keys might span schemas. You must call
<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generatePrimaryKeys(java.lang.String,%20java.lang.String[])"><code>generatePrimaryKeys(java.lang.String, java.lang.String[])</code></a>, <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateIndexes(java.lang.String,%20java.lang.String[])"><code>generateIndexes(java.lang.String, java.lang.String[])</code></a>, and
<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateForeignKeys(java.lang.String,%20java.lang.String[])"><code>generateForeignKeys(java.lang.String, java.lang.String[])</code></a> separately.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the database name of the schema, or null for all schemas</dd><dd><code>tableNames</code> - a list of tables to generate in the schema, or null
to generate all tables</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generatePrimaryKeys(java.lang.String, java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generatePrimaryKeys</h4>
<pre>public&nbsp;void&nbsp;generatePrimaryKeys(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;tableNames)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<div class="block">Generate primary key information for the given schema. This method
must be called in addition to <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchema(java.lang.String,%20java.lang.String[])"><code>generateSchema(java.lang.String, java.lang.String[])</code></a>. It should
only be called after all schemas are generated. The schema name and
tables array can be null to indicate that indexes should be generated
for all schemas and/or tables.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generatePrimaryKeys(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generatePrimaryKeys</h4>
<pre>public&nbsp;void&nbsp;generatePrimaryKeys(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;tableNames)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Generate primary key information for the given schema. This method
must be called in addition to <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchema(java.lang.String,%20java.lang.String[])"><code>generateSchema(java.lang.String, java.lang.String[])</code></a>. It should
only be called after all schemas are generated. The schema name and
tables array can be null to indicate that indexes should be generated
for all schemas and/or tables.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateIndexes(java.lang.String, java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateIndexes</h4>
<pre>public&nbsp;void&nbsp;generateIndexes(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;tableNames)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<div class="block">Generate index information for the given schema. This method
must be called in addition to <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchema(java.lang.String,%20java.lang.String[])"><code>generateSchema(java.lang.String, java.lang.String[])</code></a>. It should
only be called after all schemas are generated. The schema name and
tables array can be null to indicate that indexes should be generated
for all schemas and/or tables.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateIndexes(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateIndexes</h4>
<pre>public&nbsp;void&nbsp;generateIndexes(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;tableNames)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Generate index information for the given schema. This method
must be called in addition to <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchema(java.lang.String,%20java.lang.String[])"><code>generateSchema(java.lang.String, java.lang.String[])</code></a>. It should
only be called after all schemas are generated. The schema name and
tables array can be null to indicate that indexes should be generated
for all schemas and/or tables.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateForeignKeys(java.lang.String, java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateForeignKeys</h4>
<pre>public&nbsp;void&nbsp;generateForeignKeys(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;tableNames)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<div class="block">Generate foreign key information for the given schema. This method
must be called in addition to <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchema(java.lang.String,%20java.lang.String[])"><code>generateSchema(java.lang.String, java.lang.String[])</code></a>. It should
only be called after all schemas are generated. The schema name and
tables array can be null to indicate that indexes should be generated
for all schemas and/or tables.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateForeignKeys(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateForeignKeys</h4>
<pre>public&nbsp;void&nbsp;generateForeignKeys(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>[]&nbsp;tableNames)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Generate foreign key information for the given schema. This method
must be called in addition to <a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.html#generateSchema(java.lang.String,%20java.lang.String[])"><code>generateSchema(java.lang.String, java.lang.String[])</code></a>. It should
only be called after all schemas are generated. The schema name and
tables array can be null to indicate that indexes should be generated
for all schemas and/or tables.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateTables(java.lang.String, java.lang.String, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateTables</h4>
<pre>public&nbsp;void&nbsp;generateTables(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateTables(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateTables</h4>
<pre>public&nbsp;void&nbsp;generateTables(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Adds all tables matching the given name pattern to the schema.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generatePrimaryKeys(java.lang.String, java.lang.String, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generatePrimaryKeys</h4>
<pre>public&nbsp;void&nbsp;generatePrimaryKeys(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<div class="block">Generates table primary keys.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generatePrimaryKeys(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generatePrimaryKeys</h4>
<pre>public&nbsp;void&nbsp;generatePrimaryKeys(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateIndexes(java.lang.String, java.lang.String, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateIndexes</h4>
<pre>public&nbsp;void&nbsp;generateIndexes(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<div class="block">Generates table indexes.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateIndexes(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateIndexes</h4>
<pre>public&nbsp;void&nbsp;generateIndexes(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateForeignKeys(java.lang.String, java.lang.String, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateForeignKeys</h4>
<pre>public&nbsp;void&nbsp;generateForeignKeys(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Generates table foreign keys.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateForeignKeys(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateForeignKeys</h4>
<pre>public&nbsp;void&nbsp;generateForeignKeys(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;tableName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateSequences(java.lang.String, java.lang.String, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSequences</h4>
<pre>public&nbsp;void&nbsp;generateSequences(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;schemaName,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sequenceName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i></i></div>
<div class="block">Adds all sequences matching the given name pattern to the schema.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="generateSequences(org.apache.openjpa.jdbc.identifier.DBIdentifier, org.apache.openjpa.jdbc.identifier.DBIdentifier, java.sql.Connection, java.sql.DatabaseMetaData)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSequences</h4>
<pre>public&nbsp;void&nbsp;generateSequences(<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;schemaName,
<a href="../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;sequenceName,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;conn,
<a href="http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html?is-external=true" title="class or interface in java.sql">DatabaseMetaData</a>&nbsp;meta)
throws <a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd></dl>
</li>
</ul>
<a name="addListener(org.apache.openjpa.jdbc.schema.SchemaGenerator.Listener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addListener</h4>
<pre>public&nbsp;void&nbsp;addListener(<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.Listener.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaGenerator.Listener</a>&nbsp;l)</pre>
<div class="block">Adds a listener for schema generation events.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - the listener to add</dd></dl>
</li>
</ul>
<a name="removeListener(org.apache.openjpa.jdbc.schema.SchemaGenerator.Listener)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>removeListener</h4>
<pre>public&nbsp;boolean&nbsp;removeListener(<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.Listener.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaGenerator.Listener</a>&nbsp;l)</pre>
<div class="block">Removes a schema generation listener for schema events.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>l</code> - the listener to remove</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if it was successfully removed</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="class-use/SchemaGenerator.html">Use</a></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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaFactory.html" title="interface in org.apache.openjpa.jdbc.schema"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGenerator.Event.html" title="class in org.apache.openjpa.jdbc.schema"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/openjpa/jdbc/schema/SchemaGenerator.html" target="_top">Frames</a></li>
<li><a href="SchemaGenerator.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&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>Field&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; 2006&#x2013;2017 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>