| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--tppt.db.DBHandler
        |
        +--tppt.db.DB2Handler
DB2Handler is the class that implements the DB2 dependent
 methods in order to run the tool on the Sybase. This class extends the DBHandler
 so it inherits all the implemented methods from its parents but it has its own
 behavior for the abstract methods and that is reuqired to implement in this
 class.
DBHandler| Fields inherited from class tppt.db.DBHandler | 
| connection | 
| Constructor Summary | |
| DB2Handler() | |
| Method Summary | |
|  void | dropStoredProcedures()Drop all the user-created store procedures. | 
|  void | dropTables()Clean up the database, including all the user databases and constriants. | 
| static void | main(java.lang.String[] args) | 
|  boolean | setMaxRowsForTable(java.sql.CallableStatement sp,
                   java.lang.String table)Set up the maximum-rows-per-page for specific table. | 
|  boolean | setMaxRowsPerPage()Set up the maximum row per page for all the user created tables. | 
| Methods inherited from class tppt.db.DBHandler | 
| closeConnection, closeReader, dbConnection, dropATable, dropConstraint, dropSP, executeStmt, initDB, initStatement, SQLFileExecutor, twoPhaseDBInit | 
| Methods inherited from class java.lang.Object | 
|  | 
| Constructor Detail | 
public DB2Handler()
| Method Detail | 
public boolean setMaxRowsPerPage()
setMaxRowsPerPage in class DBHandlersetMaxRowsForTable(CallableStatement,String)
public boolean setMaxRowsForTable(java.sql.CallableStatement sp,
                                  java.lang.String table)
setMaxRowsForTable in class DBHandlersp - the CallableStatement to execute the maximun-rows setup.table - the table name.public void dropTables()
dropTables in class DBHandlerDBHandler.dropConstraint(String,String), 
DBHandler.dropATable(String)public void dropStoredProcedures()
dropStoredProcedures in class DBHandlerDBHandler.dropSP(String)
public static void main(java.lang.String[] args)
                 throws java.lang.Exception
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||