com.agimatec.sql.meta.mysql
Class MySqlSchemaChecker
java.lang.Object
com.agimatec.sql.meta.checking.DatabaseSchemaChecker
com.agimatec.sql.meta.mysql.MySqlSchemaChecker
public class MySqlSchemaChecker
- extends DatabaseSchemaChecker
check a mysql catalog for validity
User: roman.stumm@viaboxx.de
Date: 26.03.13
| Methods inherited from class com.agimatec.sql.meta.checking.DatabaseSchemaChecker |
addUnmappedColumn, assertCatalogsComplete, assertTrue, checkDatabaseSchema, compareForeignKeyDescription, compareIndexDescription, compareSingleIndexDescription, forDbms, getDatabase, getUnmappedColumns, getUnmappedColumns, isScaleCompatible, isTypeCompatible, log, print, setDatabase, throwAssertions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySqlSchemaChecker
public MySqlSchemaChecker()
assertObjectsValid
public void assertObjectsValid()
throws Exception
- Description copied from class:
DatabaseSchemaChecker
- API - check for invalid objects in the database
- Specified by:
assertObjectsValid in class DatabaseSchemaChecker
- Throws:
Exception
getDDLScriptSqlMetaFactory
protected DDLScriptSqlMetaFactory getDDLScriptSqlMetaFactory()
- Specified by:
getDDLScriptSqlMetaFactory in class DatabaseSchemaChecker
readDatabaseCatalog
protected CatalogDescription readDatabaseCatalog(String[] tableNames)
throws SQLException,
IOException
- Specified by:
readDatabaseCatalog in class DatabaseSchemaChecker
- Throws:
SQLException
IOException
isPrecisionCompatible
protected boolean isPrecisionCompatible(ColumnDescription expected,
ColumnDescription actual)
- Overrides:
isPrecisionCompatible in class DatabaseSchemaChecker
Copyright © 2008-2013. All Rights Reserved.