| java.lang.Object com.knowgate.datacopy.DataTblDef
DataTblDef | public class DataTblDef (Code) | | Keeps information about each table definition.
author: Sergio Montoro Ten version: 0.5 alpha |
ColCount | public int ColCount(Code) | | |
ColSizes | public int ColSizes(Code) | | |
ColTypes | public int ColTypes(Code) | | |
bMayInheritPK | public boolean bMayInheritPK(Code) | | |
DataTblDef | public DataTblDef()(Code) | | |
bestMatch | public boolean bestMatch(int iThisCol, DataTblDef oTblDef, int iParentPK)(Code) | | |
findColumnPosition | public int findColumnPosition(String sColName)(Code) | | |
findColumnType | public int findColumnType(String sColName)(Code) | | |
getPrimaryKeys | public String getPrimaryKeys(Connection oConn, String sSchema, String sCatalog, String sTable) throws SQLException(Code) | | Get table primary key
Parameters: oConn - JDBC Connection Parameters: sSchema - String Schema name Parameters: sCatalog - String Catalog Name Parameters: sTable - String Table Name (case sensitive) String List of table primary key columns delimited by commas, if table does not have aprimary key then return value is null throws: SQLException - |
isPrimaryKey | public boolean isPrimaryKey(int iCol)(Code) | | |
readMetaData | public void readMetaData(Connection oConn, String sTable, String sPK) throws SQLException(Code) | | Read table metadata
Parameters: oConn - JDBC Connection Parameters: sTable - Table Name (case insensitive) Parameters: sPK - List of primary key columns delimited by commas throws: SQLException - |
|
|