org.apache.ddlutils.platform.mysql
Class MySql50ModelReader

java.lang.Object
  extended byorg.apache.ddlutils.platform.JdbcModelReader
      extended byorg.apache.ddlutils.platform.mysql.MySqlModelReader
          extended byorg.apache.ddlutils.platform.mysql.MySql50ModelReader

public class MySql50ModelReader
extends MySqlModelReader

Reads a database model from a MySql 5 database.

Version:
$Revision: $
Author:
Martin van den Bemt

Constructor Summary
MySql50ModelReader(PlatformInfo platformInfo)
          Creates a new model reader for MySql 5 databases.
 
Method Summary
protected  Column readColumn(DatabaseMetaDataWrapper metaData, Map values)
          Extracts a column definition from the result set.
 
Methods inherited from class org.apache.ddlutils.platform.mysql.MySqlModelReader
isInternalForeignKeyIndex, isInternalPrimaryKeyIndex, readTable
 
Methods inherited from class org.apache.ddlutils.platform.JdbcModelReader
determineAutoIncrementFromResultSetMetaData, getColumnsForColumn, getColumnsForFK, getColumnsForIndex, getColumnsForPK, getColumnsForTable, getConnection, getDatabase, getDatabase, getDefaultCatalogPattern, getDefaultSchemaPattern, getDefaultTablePattern, getDefaultTableTypes, getPlatformInfo, initColumnsForColumn, initColumnsForFK, initColumnsForIndex, initColumnsForPK, initColumnsForTable, matches, readColumns, readForeignKey, readForeignKeys, readIndex, readIndices, readPrimaryKeyName, readPrimaryKeyNames, readTables, removeInternalForeignKeyIndex, removeInternalPrimaryKeyIndex, removeSystemIndices, setDefaultCatalogPattern, setDefaultSchemaPattern, setDefaultTablePattern, setDefaultTableTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySql50ModelReader

public MySql50ModelReader(PlatformInfo platformInfo)
Creates a new model reader for MySql 5 databases.

Parameters:
platformInfo - The platform specific settings
Method Detail

readColumn

protected Column readColumn(DatabaseMetaDataWrapper metaData,
                            Map values)
                     throws SQLException
Extracts a column definition from the result set.

Overrides:
readColumn in class MySqlModelReader
Throws:
SQLException


Copyright © 2005 Apache Software Foundation. All Rights Reserved.