public class MySqlSchemaChecker extends DatabaseSchemaChecker
check a mysql catalog for validity
User: roman.stumm@viaboxx.deDatabaseSchemaChecker.Optionsdatabase, logger, myFoundErrors, unknownColumns| Constructor and Description |
|---|
MySqlSchemaChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertObjectsValid()
API - check for invalid objects in the database
|
protected DDLScriptSqlMetaFactory |
getDDLScriptSqlMetaFactory() |
protected boolean |
isPrecisionCompatible(ColumnDescription expected,
ColumnDescription actual) |
protected CatalogDescription |
readDatabaseCatalog(String[] tableNames) |
addUnmappedColumn, assertCatalogsComplete, assertTrue, checkDatabaseSchema, checkDatabaseSchema, compareForeignKeyDescription, compareIndexDescription, compareSingleIndexDescription, forDbms, getDatabase, getUnmappedColumns, getUnmappedColumns, isScaleCompatible, isTypeCompatible, log, print, setDatabase, throwAssertionspublic void assertObjectsValid()
throws Exception
DatabaseSchemaCheckerassertObjectsValid in class DatabaseSchemaCheckerExceptionprotected DDLScriptSqlMetaFactory getDDLScriptSqlMetaFactory()
getDDLScriptSqlMetaFactory in class DatabaseSchemaCheckerprotected CatalogDescription readDatabaseCatalog(String[] tableNames) throws SQLException, IOException
readDatabaseCatalog in class DatabaseSchemaCheckerSQLExceptionIOExceptionprotected boolean isPrecisionCompatible(ColumnDescription expected, ColumnDescription actual)
isPrecisionCompatible in class DatabaseSchemaCheckerCopyright © 2008–2018. All rights reserved.