public class SchemaDropperImpl extends Object implements SchemaDropper
| Constructor and Description |
|---|
SchemaDropperImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
doDrop(Metadata metadata,
boolean dropNamespaces,
Dialect dialect,
List<Target> targets)
Perform the drop to the specified targets
|
void |
doDrop(Metadata metadata,
boolean dropNamespaces,
Dialect dialect,
Target... targets)
Perform the drop to the specified targets
|
void |
doDrop(Metadata metadata,
boolean dropNamespaces,
List<Target> targets)
Perform the drop to the specified targets
|
void |
doDrop(Metadata metadata,
boolean dropNamespaces,
Target... targets)
Perform the drop to the specified targets
|
Iterable<String> |
generateDropCommands(MetadataImplementor metadata,
boolean dropNamespaces,
Dialect dialect)
Intended for use from JPA schema export code.
|
public Iterable<String> generateDropCommands(MetadataImplementor metadata, boolean dropNamespaces, Dialect dialect)
metadata - The metadata for which to generate drop commandsdropNamespaces - Should drop schema/catalog command be generated?dialect - Allow explicitly specifying the dialect.public void doDrop(Metadata metadata, boolean dropNamespaces, List<Target> targets) throws SchemaManagementException
SchemaDropperdoDrop in interface SchemaDroppermetadata - The "compiled" mapping metadata.dropNamespaces - Should the schema(s)/catalog(s) actually be dropped also (DROP SCHEMA)?targets - The targets for dropSchemaManagementException - Indicates a problem processing the creationpublic void doDrop(Metadata metadata, boolean dropNamespaces, Dialect dialect, List<Target> targets) throws SchemaManagementException
SchemaDropperdoDrop in interface SchemaDroppermetadata - The "compiled" mapping metadata.dropNamespaces - Should the schema(s)/catalog(s) actually be dropped also (DROP SCHEMA)?targets - The targets for dropSchemaManagementException - Indicates a problem processing the creationpublic void doDrop(Metadata metadata, boolean dropNamespaces, Target... targets) throws SchemaManagementException
SchemaDropperdoDrop in interface SchemaDroppermetadata - The "compiled" mapping metadata.dropNamespaces - Should the schema(s)/catalog(s) actually be dropped also (DROP SCHEMA)?targets - The targets for dropSchemaManagementException - Indicates a problem processing the creationpublic void doDrop(Metadata metadata, boolean dropNamespaces, Dialect dialect, Target... targets) throws SchemaManagementException
SchemaDropperdoDrop in interface SchemaDroppermetadata - The "compiled" mapping metadata.dropNamespaces - Should the schema(s)/catalog(s) actually be dropped also (DROP SCHEMA)?targets - The targets for dropSchemaManagementException - Indicates a problem processing the creationCopyright © 2016 JBoss by Red Hat. All rights reserved.