Top Description 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.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, .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.ContributableMatcher, .ExecutionOptions, .SchemaFilter, .SchemaManagementException, .SchemaValidator, org.hibernate.type.descriptor.JdbcTypeNameMapper, org.jboss.logging.Logger

Base implementation of SchemaValidator.
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
,
ContributableMatcher
Filter for Contributable instances to use
contributableInclusionFilter
)

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

Deprecated as a consequence of Metadata being deprecated.
Perform the validation of the schema described by Metadata
public void
performValidation(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect)

Deprecated as a consequence of Metadata being deprecated.
protected void
validateColumnType(Table table, Column column, ColumnInformation columnInformation, Metadata metadata, ExecutionOptions options, Dialect dialect)

Deprecated as a consequence of Metadata 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 Metadata being deprecated.
protected abstract void
validateTables(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, Namespace namespace)

Deprecated as a consequence of Metadata being deprecated.
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, ContributableMatcher contributableInclusionFilter)

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

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

Deprecated

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

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

contributableInclusionFilter:ContributableMatcher

Filter for Contributable instances to use

Annotations
@Override
performValidationback to summary
public void performValidation(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect)

Deprecated

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

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

Deprecated

as a consequence of Metadata 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 Metadata being deprecated. See corresponding docs for further information.

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

Deprecated

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