|
||||||||||
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.axion.AxionModelReader
public class AxionModelReader
Reads a database model from an Axion database.
Constructor Summary | |
---|---|
AxionModelReader(Platform platform)
Creates a new model reader for Axion databases. |
Method Summary | |
---|---|
protected java.util.Collection |
readForeignKeys(DatabaseMetaDataWrapper metaData,
java.lang.String tableName)
Retrieves the foreign keys of the indicated table. |
protected java.util.Collection |
readPrimaryKeyNames(DatabaseMetaDataWrapper metaData,
java.lang.String tableName)
Retrieves the names of the columns that make up the primary key for a given table. |
protected void |
removeSystemIndices(DatabaseMetaDataWrapper metaData,
Table table)
Removes system indices (generated by the database for primary and foreign keys) from the table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxionModelReader(Platform platform)
platform
- The platform that this model reader belongs toMethod Detail |
---|
protected java.util.Collection readPrimaryKeyNames(DatabaseMetaDataWrapper metaData, java.lang.String tableName) throws java.sql.SQLException
readPrimaryKeyNames
in class JdbcModelReader
metaData
- The database meta datatableName
- The name of the table from which to retrieve PK information
java.sql.SQLException
protected java.util.Collection readForeignKeys(DatabaseMetaDataWrapper metaData, java.lang.String tableName) throws java.sql.SQLException
readForeignKeys
in class JdbcModelReader
metaData
- The database meta datatableName
- The name of the table from which to retrieve FK information
java.sql.SQLException
protected void removeSystemIndices(DatabaseMetaDataWrapper metaData, Table table) throws java.sql.SQLException
removeSystemIndices
in class JdbcModelReader
metaData
- The database meta datatable
- The table
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |