com.agimatec.sql.meta.postgres
Class PostgresSchemaChecker

java.lang.Object
  extended by com.agimatec.sql.meta.checking.DatabaseSchemaChecker
      extended by com.agimatec.sql.meta.postgres.PostgresSchemaChecker

public class PostgresSchemaChecker
extends DatabaseSchemaChecker

Description:
User: roman.stumm
Date: 24.04.2007
Time: 15:03:12
Copyright: Agimatec GmbH


Field Summary
 
Fields inherited from class com.agimatec.sql.meta.checking.DatabaseSchemaChecker
database, logger, myFoundErrors, unknownColumns
 
Constructor Summary
PostgresSchemaChecker()
           
 
Method Summary
 void assertObjectsValid()
          API - check for invalid objects in the database
protected  DDLScriptSqlMetaFactory getDDLScriptSqlMetaFactory()
           
protected  CatalogDescription readDatabaseCatalog(String[] tableNames)
           
 
Methods inherited from class com.agimatec.sql.meta.checking.DatabaseSchemaChecker
addUnmappedColumn, assertCatalogsComplete, assertTrue, checkDatabaseSchema, compareForeignKeyDescription, compareIndexDescription, compareSingleIndexDescription, forDbms, getDatabase, getUnmappedColumns, getUnmappedColumns, log, print, setDatabase, throwAssertions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgresSchemaChecker

public PostgresSchemaChecker()
Method Detail

assertObjectsValid

public void assertObjectsValid()
                        throws Exception
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


Copyright © 2008-2011. All Rights Reserved.