ResultSetMetaDataOptions
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Determines whether the driver returns table name information in the ResultSet metadata for Select statements.
Valid Values
0 | 1
Behavior
If set to 0 and the ResultSetMetaData.getTableName() method is called, the
driver does not perform additional processing to determine the correct table name for each
column in the result set. The getTableName() method may return an empty string for each
column in the result set.
If set to 1 and the ResultSetMetaData.getTableName() method is called, the
driver performs additional processing to determine the correct table name for each column in
the result set. The driver returns schema name and catalog name information when the
ResultSetMetaData.getSchemaName() and ResultSetMetaData.getCatalogName() methods are called
if the driver can determine that information.
Default
0
Data Type
int