Class DB_Table
- java.lang.Object
-
- org.apache.derby.impl.tools.dblook.DB_Table
-
public class DB_Table extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.sql.PreparedStatementgetAutoIncStmtprivate static java.sql.PreparedStatementgetColumnInfoStmtprivate static java.sql.PreparedStatementgetColumnTypeStmt
-
Constructor Summary
Constructors Constructor Description DB_Table()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringcreateColumn(java.lang.String colName, java.lang.String tableId, int colNum)static voiddoTables(java.sql.Connection conn, java.util.HashMap tableIdToNameMap)static booleanreinstateAutoIncrement(java.lang.String colName, java.lang.String tableId, java.lang.StringBuffer colDef)
-
-
-
Method Detail
-
doTables
public static void doTables(java.sql.Connection conn, java.util.HashMap tableIdToNameMap) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
createColumn
private static java.lang.String createColumn(java.lang.String colName, java.lang.String tableId, int colNum) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
reinstateAutoIncrement
public static boolean reinstateAutoIncrement(java.lang.String colName, java.lang.String tableId, java.lang.StringBuffer colDef) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-