Class SchemaCreatorImpl
java.lang.Object
org.hibernate.tool.schema.internal.SchemaCreatorImpl
- All Implemented Interfaces:
SchemaCreator
Basic implementation of
SchemaCreator
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSchemaCreatorImpl
(ServiceRegistry serviceRegistry) SchemaCreatorImpl
(ServiceRegistry serviceRegistry, SchemaFilter schemaFilter) SchemaCreatorImpl
(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createFromMetadata
(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, GenerationTarget... targets) void
createFromMetadata
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionMatcher, Dialect dialect, Formatter formatter, GenerationTarget... targets) void
createFromScript
(ScriptSourceInput scriptSourceInput, SqlScriptCommandExtractor commandExtractor, Formatter formatter, Dialect dialect, ExecutionOptions options, GenerationTarget... targets) void
doCreation
(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets) Intended for use from testsvoid
doCreation
(Metadata metadata, Dialect dialect, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, GenerationTarget... targets) void
doCreation
(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) Intended for use from testsvoid
doCreation
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Perform a schema creation from the indicated source(s) to the indicated target(s).generateCreationCommands
(Metadata metadata, boolean manageNamespaces) For testing...
-
Field Details
-
DEFAULT_IMPORT_FILE
- See Also:
-
-
Constructor Details
-
SchemaCreatorImpl
-
SchemaCreatorImpl
-
SchemaCreatorImpl
-
SchemaCreatorImpl
-
-
Method Details
-
doCreation
public void doCreation(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Description copied from interface:SchemaCreator
Perform a schema creation from the indicated source(s) to the indicated target(s).- Specified by:
doCreation
in interfaceSchemaCreator
- Parameters:
metadata
- Represents the schema to be created.options
- Options for executing the creationcontributableInclusionFilter
- Filter for Contributable instances to usesourceDescriptor
- description of the source(s) of creation commandstargetDescriptor
- description of the target(s) for the creation commands
-
doCreation
@Internal public void doCreation(Metadata metadata, Dialect dialect, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, GenerationTarget... targets) -
createFromScript
public void createFromScript(ScriptSourceInput scriptSourceInput, SqlScriptCommandExtractor commandExtractor, Formatter formatter, Dialect dialect, ExecutionOptions options, GenerationTarget... targets) -
createFromMetadata
@Internal public void createFromMetadata(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, GenerationTarget... targets) -
createFromMetadata
@Internal public void createFromMetadata(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionMatcher, Dialect dialect, Formatter formatter, GenerationTarget... targets) -
generateCreationCommands
For testing...- Parameters:
metadata
- The metadata for which to generate the creation commands.- Returns:
- The generation commands
-
doCreation
@Internal public void doCreation(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets) Intended for use from tests -
doCreation
@Internal public void doCreation(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) Intended for use from tests
-