Skip to content

Use DatabaseMetadata#getTables API in JdbcExecutor to obtain tables/views #26

@zabetak

Description

@zabetak

Currently JdbcExecutor contains two abstract methods to obtain tables and views from the underlying JDBC database and requires adding new subclass for each different database.

I think we could use the standard JDBC API DatabaseMetadata#getTables (https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html#getTables-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-) to achieve the same purpose.

That way we may be able to run in a wide variety of JDBC endpoints without requiring adding a separate class every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions