Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SQLLINE-183] Add wrapper (via reflection way) for DatabaseMetaData t… #196

Closed
wants to merge 1 commit into from

Conversation

snuyanzin
Copy link
Collaborator

The PR adds

  1. wrapper for DatabaseMetaData with calling methods via reflection. This allows to mask driver errors, for instance Apache Hive driver errors mentioned in Hive and other dbs with non-standard DatabaseMetaData implementation support #183
  2. strictJdbc property which could disable masking driver errors

fixed #183

@snuyanzin
Copy link
Collaborator Author

Rebased to resolve conflicts

…o handle method not supported exceptions.

Add a test emulating hive behaviour with method not supported
Add strictJdbc property to mark if instead of not supported/not implemented methods of DatabaseMetaData should be used defaults or not
@snuyanzin
Copy link
Collaborator Author

Rebased to resolve conflicts

@julianhyde
Copy link
Owner

Merged as e2c67fe, fixes #183.

@julianhyde julianhyde closed this Nov 19, 2018
@snuyanzin snuyanzin deleted the SQLLINE_183 branch November 20, 2018 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hive and other dbs with non-standard DatabaseMetaData implementation support
2 participants