Skip to content

Support SYNONYM as a table type for DatabaseMetadata methods #1814

Open
@dqmdev

Description

@dqmdev

SQL Server JDBC 10.2 and older versions.

Unlike other database vendors, SQL Server JDBC driver does not deal with synonyms.

DatabaseMetadata interface methods return nothing.

DatabaseMetadata.getTableTypes does not include anything regarding synonyms

DatabaseMetadata.getTables does not return anything regarding objects (tables/views) synonym references.

...

This feature limitation has been raised several times over many years, as it impacts products relying on the JDBC API methods.

Adding hard coded SQL to navigate catalog tables as a workaround is not ideal, and not required with other vendors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementAn enhancement to the driver. Lower priority than bugs.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions