|
||||||||||
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.firebird.FirebirdModelReader
The Jdbc Model Reader for Firebird.
Constructor Summary | |
FirebirdModelReader(PlatformInfo platformInfo)
Creates a new model reader for Firebird databases. |
Method Summary | |
protected void |
determineAutoIncrementFromResultSetMetaData(Table table,
Column[] columnsToCheck)
Helper method that determines the auto increment status for the given columns via the ResultSetMetaData.isAutoIncrement(int) method. |
protected void |
readIndex(DatabaseMetaDataWrapper metaData,
Map values,
Map knownIndices)
Reads the next index spec from the result set. |
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 FirebirdModelReader(PlatformInfo platformInfo)
platformInfo
- The platform specific settingsMethod Detail |
protected void readIndex(DatabaseMetaDataWrapper metaData, Map values, Map knownIndices) throws SQLException
readIndex
in class JdbcModelReader
metaData
- The database meta datavalues
- The index meta data as defined by JdbcModelReader.getColumnsForIndex()
knownIndices
- The already read indices for the current table
SQLException
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 void determineAutoIncrementFromResultSetMetaData(Table table, Column[] columnsToCheck) throws SQLException
ResultSetMetaData.isAutoIncrement(int)
method.
determineAutoIncrementFromResultSetMetaData
in class JdbcModelReader
table
- The tablecolumnsToCheck
- The columns to check (e.g. the primary key columns)
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |