Top Fields Constructors Methods
org.hibernate.tool.schema.internal

public abstract Class AbstractSchemaValidator

extends Object
implements SchemaValidator
Class Inheritance
All Implemented Interfaces
org.hibernate.tool.schema.spi.SchemaValidator
Known Direct Subclasses
org.hibernate.tool.schema.internal.GroupedSchemaValidatorImpl, org.hibernate.tool.schema.internal.IndividuallySchemaValidatorImpl
Imports
java.util.Iterator, .Locale, org.hibernate.boot.Metadata, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.relational.Namespace, .Sequence, .SqlStringGenerationContext, org.hibernate.boot.model.relational.internal.SqlStringGenerationContextImpl, org.hibernate.dialect.Dialect, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment, org.hibernate.mapping.Column, .Selectable, .Table, org.hibernate.resource.transaction.spi.DdlTransactionIsolator, org.hibernate.tool.schema.extract.spi.ColumnInformation, .DatabaseInformation, .SequenceInformation, .TableInformation, org.hibernate.tool.schema.internal.exec.JdbcContext, org.hibernate.tool.schema.spi.ExecutionOptions, .SchemaFilter, .SchemaManagementException, .SchemaValidator, org.hibernate.type.descriptor.JdbcTypeNameMapper, org.jboss.logging.Logger

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final Logger
protected SchemaFilter
protected HibernateSchemaManagementTool

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
doValidation(Metadata
Represents the schema to be validated
metadata
,
ExecutionOptions
Options for executing the validation
options
)

Implements org.hibernate.tool.schema.spi.SchemaValidator.doValidation.

Perform the validation of the schema described by Metadata
public void
performValidation(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, Dialect dialect)

protected void
validateColumnType(Table table, Column column, ColumnInformation columnInformation, Metadata metadata, ExecutionOptions options, Dialect dialect)

Deprecated as a consequence of Table being deprecated.
protected void
validateSequence(Sequence sequence, SequenceInformation sequenceInformation)

protected void
validateTable(Table table, TableInformation tableInformation, Metadata metadata, ExecutionOptions options, Dialect dialect)

Deprecated as a consequence of Table being deprecated.
protected abstract void
validateTables(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, Dialect dialect, Namespace namespace)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

logback to summary
private static final Logger log
schemaFilterback to summary
protected SchemaFilter schemaFilter
toolback to summary
protected HibernateSchemaManagementTool tool

Constructor Detail

AbstractSchemaValidatorback to summary
public AbstractSchemaValidator(HibernateSchemaManagementTool tool, SchemaFilter validateFilter)

Method Detail

doValidationback to summary
public void doValidation(Metadata metadata, ExecutionOptions options)

Implements org.hibernate.tool.schema.spi.SchemaValidator.doValidation.

Doc from org.hibernate.tool.schema.spi.SchemaValidator.doValidation.

Perform the validation of the schema described by Metadata

Parameters
metadata:Metadata

Represents the schema to be validated

options:ExecutionOptions

Options for executing the validation

Annotations
@Override
performValidationback to summary
public void performValidation(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, Dialect dialect)
validateColumnTypeback to summary
protected void validateColumnType(Table table, Column column, ColumnInformation columnInformation, Metadata metadata, ExecutionOptions options, Dialect dialect)

Deprecated

as a consequence of Table being deprecated. See corresponding docs for further information.

validateSequenceback to summary
protected void validateSequence(Sequence sequence, SequenceInformation sequenceInformation)
validateTableback to summary
protected void validateTable(Table table, TableInformation tableInformation, Metadata metadata, ExecutionOptions options, Dialect dialect)

Deprecated

as a consequence of Table being deprecated. See corresponding docs for further information.

validateTablesback to summary
protected abstract void validateTables(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, Dialect dialect, Namespace namespace)