null, schemaName, tableName, "%");
try
{
DatabaseConfig config = _connection.getConfig();
IDataTypeFactory dataTypeFactory = (IDataTypeFactory)config.getProperty(
DatabaseConfig.PROPERTY_DATATYPE_FACTORY);
boolean datatypeWarning = config.getFeature(
DatabaseConfig.FEATURE_DATATYPE_WARNING);
List columnList = new ArrayList();
while (resultSet.next())
{
String columnName = resultSet.getString(4);
int sqlType = resultSet.getInt(5);
String sqlTypeName = resultSet.getString(6);
// int columnSize = resultSet.getInt(7);
int nullable = resultSet.getInt(11);
// Convert SQL type to DataType
DataType dataType =
dataTypeFactory.createDataType(sqlType, sqlTypeName);
if (dataType != DataType.UNKNOWN)
{
Column column = new Column(columnName, dataType,
sqlTypeName, Column.nullableValue(nullable));
columnList.add(column);