Skip to content

SQL: Consider replacing exception with empty result sets in JDBC metadata #40533

Closed
@costin

Description

@costin

Currently the JdbcDatabaseMetaData throws a SQLFeatureNotSupportedException for methods that are unsupported (such as getVersionColumns).
However these methods also return a ResultSet hence it is worth investigating whether returning an empty result set (with the appropriate column) is a better alternative as some clients might be able to handle them better (potentially eliminating existing warning inside the UI or logs).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions