Class LowerCaseTableMetaData

java.lang.Object
org.dbunit.dataset.AbstractTableMetaData
org.dbunit.dataset.LowerCaseTableMetaData
All Implemented Interfaces:
ITableMetaData

public class LowerCaseTableMetaData extends AbstractTableMetaData
Specialized ITableMetaData implementation that convert the table name and column names to lower case. Used in DbUnit own test suite to verify that operations are case insensitive.
Since:
Feb 14, 2003
Version:
$Revision$
Author:
Manuel Laflamme
  • Constructor Details

  • Method Details

    • getTableName

      public String getTableName()
      Description copied from interface: ITableMetaData
      Returns this table name.
      Returns:
      this table name
    • getColumns

      public Column[] getColumns()
      Description copied from interface: ITableMetaData
      Returns this table columns as recognized by dbunit. In cases where columns are resolved using database metadata it can happen that an empty array is returned when a table does not have a single column that is recognized by the configured IDataTypeFactory. Note that it is not an exceptional case within dbunit when a ITableMetaData does not have a column.
      Returns:
      The columns for this table
    • getPrimaryKeys

      public Column[] getPrimaryKeys()
      Description copied from interface: ITableMetaData
      Returns this table primary key columns.
      Returns:
      this table primary key columns.