Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@olavloite
Copy link

Adds JDBC database metadata.

@olavloite olavloite requested a review from kolea2 July 29, 2019 10:18
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 29, 2019
@olavloite olavloite changed the title spanner-jdbc: Step 21 - JdbcDatabaseMetadata spanner-jdbc: Step 28 - JdbcDatabaseMetadata Jul 29, 2019
@olavloite olavloite force-pushed the spanner-jdbc-28-jdbc-database-metadata branch from 9113879 to 013a3f5 Compare July 30, 2019 11:07
}

@Override
public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have tests for this (and the other sql query methods)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but they are created as integration tests (ITJdbcDatabaseMetaDataTest in the private repo), so they will be added in a later PR.

@olavloite olavloite merged commit 1477e47 into googleapis:spanner-jdbc Jul 31, 2019
olavloite added a commit to olavloite/google-cloud-java that referenced this pull request Aug 5, 2019
* add JdbcDatabaseMetadata

* added implementation for getUserName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants