|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.platform.JdbcModelReader
org.apache.ddlutils.platform.oracle.Oracle8ModelReader
Reads a database model from an Oracle 8 database.
Constructor Summary | |
Oracle8ModelReader(Platform platform)
Creates a new model reader for Oracle 8 databases. |
Method Summary | |
protected void |
determineAutoIncrementColumns(Table table)
Helper method that determines the auto increment status using Firebird's system tables. |
protected boolean |
isAutoIncrement(Table table,
Column column)
Tries to determine whether the given column is an identity column. |
protected Column |
readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set. |
protected Collection |
readIndices(DatabaseMetaDataWrapper metaData,
String tableName)
Determines the indices for the indicated table. |
protected Table |
readTable(DatabaseMetaDataWrapper metaData,
Map values)
Reads the next table from the meta data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Oracle8ModelReader(Platform platform)
platform
- The platform that this model reader belongs toMethod Detail |
protected Table readTable(DatabaseMetaDataWrapper metaData, Map values) throws SQLException
readTable
in class JdbcModelReader
metaData
- The database meta datavalues
- The table metadata values as defined by JdbcModelReader.getColumnsForTable()
null
if the result set row did not contain a valid table
SQLException
protected Column readColumn(DatabaseMetaDataWrapper metaData, Map values) throws SQLException
readColumn
in class JdbcModelReader
metaData
- The database meta datavalues
- The column meta data values as defined by JdbcModelReader.getColumnsForColumn()
SQLException
protected void determineAutoIncrementColumns(Table table) throws SQLException
table
- The table
SQLException
protected boolean isAutoIncrement(Table table, Column column) throws SQLException
table
- The tablecolumn
- The column
true
if the column is an identity column
SQLException
protected Collection readIndices(DatabaseMetaDataWrapper metaData, String tableName) throws SQLException
readIndices
in class JdbcModelReader
metaData
- The database meta datatableName
- The name of the table
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |