com.sage.accpac.sm
Interface DBTableMetaData

All Superinterfaces:
java.sql.ResultSetMetaData, java.sql.Wrapper

@Immutable
@ThreadSafe
public interface DBTableMetaData
extends java.sql.ResultSetMetaData

Metadata for TableMetaData. A TableMetaData contains all the low-level information about a physical ACCPAC table.


Field Summary
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Method Summary
 int getA4WColumnType(int column)
          Returns the native A4W type for the field
 int getFieldLength(int column)
          Returns the size of a column
 
Methods inherited from interface java.sql.ResultSetMetaData
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Method Detail

getA4WColumnType

int getA4WColumnType(int column)
                     throws java.sql.SQLException
Returns the native A4W type for the field

Parameters:
column - the 1-based column number
Returns:
the native A4W type for the field
Throws:
java.sql.SQLException - on error

getFieldLength

int getFieldLength(int column)
                   throws java.sql.SQLException
Returns the size of a column

Parameters:
column - the 1-based column number
Returns:
the size of a column
Throws:
java.sql.SQLException - on error


Copyright © 2011 Sage Software, Inc. All rights reserved.