public class SchemaCreatorImpl extends Object implements SchemaCreator
| Constructor and Description |
|---|
SchemaCreatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
doCreation(Metadata metadata,
boolean createNamespaces,
Dialect dialect,
List<Target> targets)
Perform the creation to the specified targets
|
void |
doCreation(Metadata metadata,
boolean createNamespaces,
Dialect dialect,
Target... targets)
Perform the creation to the specified targets
|
void |
doCreation(Metadata metadata,
boolean createNamespaces,
List<Target> targets)
Perform the creation to the specified targets
|
void |
doCreation(Metadata metadata,
boolean createNamespaces,
Target... targets)
Perform the creation to the specified targets
|
List<String> |
generateCreationCommands(Metadata metadata,
boolean createNamespaces)
For testing...
|
List<String> |
generateCreationCommands(Metadata metadata,
boolean createNamespaces,
Dialect dialect)
For temporary use from JPA schema generation
|
public void doCreation(Metadata metadata, boolean createNamespaces, List<Target> targets) throws SchemaManagementException
SchemaCreatordoCreation in interface SchemaCreatormetadata - The "compiled" mapping metadata.createNamespaces - Should the schema(s) actually be created as well (CREATE SCHEMA)?targets - The targets for creationSchemaManagementException - Indicates a problem processing the creationpublic void doCreation(Metadata metadata, boolean createNamespaces, Dialect dialect, List<Target> targets) throws SchemaManagementException
SchemaCreatordoCreation in interface SchemaCreatormetadata - The "compiled" mapping metadata.createNamespaces - Should the schema(s)/catalog(s) actually be created as well (CREATE SCHEMA)?dialect - Allow explicitly passing the Dialect to use.targets - The targets for creationSchemaManagementException - Indicates a problem processing the creationpublic List<String> generateCreationCommands(Metadata metadata, boolean createNamespaces)
metadata - The metadata for which to generate the creation commands.public List<String> generateCreationCommands(Metadata metadata, boolean createNamespaces, Dialect dialect)
metadata - The metadata for which to generate the creation commands.createNamespaces - Should the schema(s)/catalog(s) actually be created as well (CREATE SCHEMA)?dialect - Allow explicitly passing the Dialect to use.public void doCreation(Metadata metadata, boolean createNamespaces, Target... targets) throws SchemaManagementException
SchemaCreatordoCreation in interface SchemaCreatormetadata - The "compiled" mapping metadata.createNamespaces - Should the schema(s)/catalog(s) actually be created as well (CREATE SCHEMA)?targets - The targets for creationSchemaManagementException - Indicates a problem processing the creationpublic void doCreation(Metadata metadata, boolean createNamespaces, Dialect dialect, Target... targets) throws SchemaManagementException
SchemaCreatordoCreation in interface SchemaCreatormetadata - The "compiled" mapping metadata.createNamespaces - Should the schema(s)/catalog(s) actually be created as well (CREATE SCHEMA)?dialect - Allow explicitly passing the Dialect to use.targets - The targets for creationSchemaManagementException - Indicates a problem processing the creationCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.