| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static final CoreMessageLogger | |
| private final SchemaFilter | |
| private final HibernateSchemaManagementTool |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | applyImportSources(ExecutionOptions options, ImportSqlCommandExtractor commandExtractor, boolean format, GenerationTarget... targets)
|
| private static void | applySqlString(String sqlString, Formatter formatter, ExecutionOptions options, GenerationTarget... targets)
|
| private static void | applySqlStrings(String[] sqlStrings, Formatter formatter, ExecutionOptions options, GenerationTarget... targets)
|
| private static void | |
| public void | createFromMetadata(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, GenerationTarget... targets)
|
| public void | createFromScript(ScriptSourceInput scriptSourceInput, ImportSqlCommandExtractor commandExtractor, Formatter formatter, ExecutionOptions options, GenerationTarget... targets)
|
| public void | doCreation(Metadata
Represents the schema to be created. metadata, ExecutionOptions Options for executing the creation options, SourceDescriptor description of the source(s) of creation commands sourceDescriptor, TargetDescriptor description of the target(s) for the creation commands targetDescriptor)Implements org. |
| public void | doCreation(Metadata metadata, Dialect dialect, ExecutionOptions options, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
|
| public void | |
| public void | doCreation(Metadata metadata, final ServiceRegistry serviceRegistry, final Map<K, V> settings, final boolean manageNamespaces, GenerationTarget... targets)
|
| public List | Returns: The generation commandsThe metadata for which to generate the creation commands. metadata, final boolean manageNamespaces)For testing... |
| private ScriptSourceInput | interpretLegacyImportScriptSetting(String resourceName, ClassLoaderService classLoaderService, String charsetName)
|
| private void | performCreation(Metadata metadata, Dialect dialect, ExecutionOptions options, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
|
| DEFAULT_IMPORT_FILE | back to summary |
|---|---|
| public static final String DEFAULT_IMPORT_FILE | |
| log | back to summary |
|---|---|
| private static final CoreMessageLogger log | |
| schemaFilter | back to summary |
|---|---|
| private final SchemaFilter schemaFilter | |
| tool | back to summary |
|---|---|
| private final HibernateSchemaManagementTool tool | |
| SchemaCreatorImpl | back to summary |
|---|---|
| public SchemaCreatorImpl(HibernateSchemaManagementTool tool) | |
| SchemaCreatorImpl | back to summary |
|---|---|
| public SchemaCreatorImpl(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter) | |
| SchemaCreatorImpl | back to summary |
|---|---|
| public SchemaCreatorImpl(ServiceRegistry serviceRegistry) | |
| SchemaCreatorImpl | back to summary |
|---|---|
| public SchemaCreatorImpl(ServiceRegistry serviceRegistry, SchemaFilter schemaFilter) | |
| applyImportSources | back to summary |
|---|---|
| private void applyImportSources(ExecutionOptions options, ImportSqlCommandExtractor commandExtractor, boolean format, GenerationTarget... targets) | |
| applySqlString | back to summary |
|---|---|
| private static void applySqlString(String sqlString, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) | |
| applySqlStrings | back to summary |
|---|---|
| private static void applySqlStrings(String[] sqlStrings, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) | |
| checkExportIdentifier | back to summary |
|---|---|
| private static void checkExportIdentifier(Exportable exportable, Set<String> exportIdentifiers) | |
| createFromMetadata | back to summary |
|---|---|
| public void createFromMetadata(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, GenerationTarget... targets) | |
| createFromScript | back to summary |
|---|---|
| public void createFromScript(ScriptSourceInput scriptSourceInput, ImportSqlCommandExtractor commandExtractor, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) | |
| doCreation | back to summary |
|---|---|
| public void doCreation(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Implements org. Doc from org. Perform a schema creation from the indicated source(s) to the indicated target(s).
| |
| doCreation | back to summary |
|---|---|
| public void doCreation(Metadata metadata, Dialect dialect, ExecutionOptions options, SourceDescriptor sourceDescriptor, GenerationTarget... targets) | |
| doCreation | back to summary |
|---|---|
| public void doCreation(Metadata metadata, final boolean manageNamespaces, GenerationTarget... targets) | |
| doCreation | back to summary |
|---|---|
| public void doCreation(Metadata metadata, final ServiceRegistry serviceRegistry, final Map<K, V> settings, final boolean manageNamespaces, GenerationTarget... targets) | |
| generateCreationCommands | back to summary |
|---|---|
| public List For testing... | |
| interpretLegacyImportScriptSetting | back to summary |
|---|---|
| private ScriptSourceInput interpretLegacyImportScriptSetting(String resourceName, ClassLoaderService classLoaderService, String charsetName) | |
| performCreation | back to summary |
|---|---|
| private void performCreation(Metadata metadata, Dialect dialect, ExecutionOptions options, SourceDescriptor sourceDescriptor, GenerationTarget... targets) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(String
The command command)Implements org. |
| public void | prepare()
Implements org. |
| public void | release()
Implements org. |
| commands | back to summary |
|---|---|
| private final ArrayList<String> commands | |
| JournalingGenerationTarget | back to summary |
|---|---|
| private JournalingGenerationTarget() | |
| accept | back to summary |
|---|---|
| public void accept(String command) Implements org. Doc from org. Accept a command | |
| prepare | back to summary |
|---|---|
| public void prepare() Implements org. Doc from org. Prepare for accepting actions
| |
| release | back to summary |
|---|---|
| public void release() Implements org. Doc from org. Release this target, giving it a change to release its resources.
| |