Top Description Methods
org.hibernate.tool.schema.spi

public Interface SchemaCreator

Known Direct Implementers
org.hibernate.tool.schema.internal.SchemaCreatorImpl
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.boot.Metadata

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. ExecutionContext allows

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
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
)

Perform a schema creation from the indicated source(s) to the indicated target(s).

Method Detail

doCreationback to summary
public void doCreation(Metadata metadata, ExecutionOptions options, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)

Perform a schema creation from the indicated source(s) to the indicated target(s).

Parameters
metadata:Metadata

Represents the schema to be created.

options:ExecutionOptions

Options for executing the creation

sourceDescriptor:SourceDescriptor

description of the source(s) of creation commands

targetDescriptor:TargetDescriptor

description of the target(s) for the creation commands