Class StandardTableMigrator
java.lang.Object
org.hibernate.tool.schema.internal.StandardTableMigrator
- All Implemented Interfaces:
TableMigrator
A
TableMigrator
that only knows how to add new columns.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
getSqlAlterStrings
(Table table, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext context) sqlAlterStrings
(Table table, Dialect dialect, Metadata metadata, TableInformation tableInformation, SqlStringGenerationContext context)
-
Field Details
-
dialect
-
-
Constructor Details
-
StandardTableMigrator
-
-
Method Details
-
getSqlAlterStrings
public String[] getSqlAlterStrings(Table table, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext context) - Specified by:
getSqlAlterStrings
in interfaceTableMigrator
-
sqlAlterStrings
@Internal public static List<String> sqlAlterStrings(Table table, Dialect dialect, Metadata metadata, TableInformation tableInformation, SqlStringGenerationContext context) throws HibernateException - Throws:
HibernateException
-