Package org.hibernate.tool.schema.spi
Interface SchemaCreator
- All Known Implementing Classes:
SchemaCreatorImpl
Service delegate for handling schema creation.
The actual contract here is kind of convoluted with the design idea of allowing this to work in ORM (JDBC) as well as in non-JDBC environments (OGM, e.g.) simultaneously.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoCreation(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Perform a schema creation from the indicated source(s) to the indicated target(s).
-
Method Details
-
doCreation
void 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).- 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
-