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.PreparedStatement
getAutoIncStmt
private static java.sql.PreparedStatement
getColumnInfoStmt
private static java.sql.PreparedStatement
getColumnTypeStmt
-
Constructor Summary
Constructors Constructor Description DB_Table()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
createColumn(java.lang.String colName, java.lang.String tableId, int colNum)
static void
doTables(java.sql.Connection conn, java.util.HashMap tableIdToNameMap)
static boolean
reinstateAutoIncrement(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
-
-