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

public Class StandardTableMigrator

extends Object
implements TableMigrator
Class Inheritance
All Implemented Interfaces
org.hibernate.tool.schema.internal.TableMigrator
Annotations
@Incubating
Imports
org.hibernate.HibernateException, .Incubating, .Internal, org.hibernate.boot.Metadata, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.relational.QualifiedTableName, .SqlStringGenerationContext, org.hibernate.dialect.Dialect, org.hibernate.mapping.Column, .Table, org.hibernate.tool.schema.extract.spi.ColumnInformation, .TableInformation, org.jboss.logging.Logger, java.util.ArrayList, .List

A TableMigrator that only knows how to add new columns.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
protected final Dialect
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String[]
getSqlAlterStrings(Table table, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext context)

Implements org.hibernate.tool.schema.internal.TableMigrator.getSqlAlterStrings.

Deprecated as a consequence of Metadata being deprecated.
public static List<String>
sqlAlterStrings(Table table, Dialect dialect, Metadata metadata, TableInformation tableInformation, SqlStringGenerationContext context)

Deprecated as a consequence of Metadata being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dialectback to summary
protected final Dialect dialect
logback to summary
private static final Logger log

Constructor Detail

StandardTableMigratorback to summary
public StandardTableMigrator(Dialect dialect)

Method Detail

getSqlAlterStringsback to summary
public String[] getSqlAlterStrings(Table table, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext context)

Implements org.hibernate.tool.schema.internal.TableMigrator.getSqlAlterStrings.

Deprecated

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

Annotations
@Override
sqlAlterStringsback to summary
public static List<String> sqlAlterStrings(Table table, Dialect dialect, Metadata metadata, TableInformation tableInformation, SqlStringGenerationContext context) throws HibernateException

Deprecated

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

Annotations
@Internal