public class PostgresSchemaChecker extends DatabaseSchemaChecker
DatabaseSchemaChecker.Optionsdatabase, logger, myFoundErrors, unknownColumns| Constructor and Description |
|---|
PostgresSchemaChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertObjectsValid()
API - check for invalid objects in the database
|
protected DDLScriptSqlMetaFactory |
getDDLScriptSqlMetaFactory() |
protected boolean |
isTypeCompatible(ColumnDescription expected,
ColumnDescription actual) |
protected CatalogDescription |
readDatabaseCatalog(String[] tableNames) |
addUnmappedColumn, assertCatalogsComplete, assertTrue, checkDatabaseSchema, checkDatabaseSchema, compareForeignKeyDescription, compareIndexDescription, compareSingleIndexDescription, forDbms, getDatabase, getUnmappedColumns, getUnmappedColumns, isPrecisionCompatible, isScaleCompatible, log, print, setDatabase, throwAssertionspublic void assertObjectsValid()
throws Exception
assertObjectsValid in class DatabaseSchemaCheckerExceptionprotected DDLScriptSqlMetaFactory getDDLScriptSqlMetaFactory()
getDDLScriptSqlMetaFactory in class DatabaseSchemaCheckerprotected CatalogDescription readDatabaseCatalog(String[] tableNames) throws SQLException, IOException
readDatabaseCatalog in class DatabaseSchemaCheckerSQLExceptionIOExceptionprotected boolean isTypeCompatible(ColumnDescription expected, ColumnDescription actual)
isTypeCompatible in class DatabaseSchemaCheckerCopyright © 2008-2016. All Rights Reserved.