ResultSetMetaData. This is used during the
"auto discovery" phase of native SQL queries.
Generally this should be done via ResultSetMetaData#getColumnLabel, but not all drivers do this correctly.
| Modifier and Type | Field and Description |
|---|---|
| public static final ColumnAliasExtractor | COLUMN_LABEL_EXTRACTOR
An extractor which uses |
| public static final ColumnAliasExtractor | COLUMN_NAME_EXTRACTOR
An extractor which uses |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The aliasThe result set metadata metaData, int The column position position)Extract the unique column alias. |
| COLUMN_LABEL_EXTRACTOR | back to summary |
|---|---|
| public static final ColumnAliasExtractor COLUMN_LABEL_EXTRACTOR An extractor which uses | |
| COLUMN_NAME_EXTRACTOR | back to summary |
|---|---|
| public static final ColumnAliasExtractor COLUMN_NAME_EXTRACTOR An extractor which uses | |
| extractColumnAlias | back to summary |
|---|---|
| public String extractColumnAlias(ResultSetMetaData metaData, int position) throws SQLException Extract the unique column alias.
| |