| |
|
| java.lang.Object org.apache.commons.sql.io.JdbcModelReader
JdbcModelReader | public class JdbcModelReader (Code) | | A tool to read a JDBC database and create a Commons-Sql Database model
author: J. Russell Smyth version: $Revision: $ |
JdbcModelReader | public JdbcModelReader()(Code) | | |
getForeignKeysForTable | public List getForeignKeysForTable(String tableName) throws SQLException(Code) | | LoadsRetrieves a list of foreign key columns for a given table.
Parameters: dbMeta - JDBC metadata. Parameters: tableName - Table from which to retrieve FK information. A list of foreign keys in tableName . |
getPrimaryKeysForTable | public List getPrimaryKeysForTable(String tableName) throws SQLException(Code) | | Retrieves a list of the columns composing the primary key for a given
table.
Parameters: dbMeta - JDBC metadata. Parameters: tableName - Table from which to retrieve PK information. A list of the primary key parts for tableName . |
setTableTypes | public void setTableTypes(String[] types)(Code) | | |
|
|
|