Skip to content

spanner-jdbc: Step 28 - JdbcDatabaseMetadata - #5913

Merged
olavloite merged 2 commits into
googleapis:spanner-jdbcfrom
olavloite:spanner-jdbc-28-jdbc-database-metadata
Jul 31, 2019
Merged

spanner-jdbc: Step 28 - JdbcDatabaseMetadata#5913
olavloite merged 2 commits into
googleapis:spanner-jdbcfrom
olavloite:spanner-jdbc-28-jdbc-database-metadata

Conversation

@olavloite

Copy link
Copy Markdown
Contributor

Adds JDBC database metadata.

@olavloite
olavloite requested a review from kolea2July 29, 2019 10:18
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 29, 2019
@olavloiteolavloite changed the title spanner-jdbc: Step 21 - JdbcDatabaseMetadataspanner-jdbc: Step 28 - JdbcDatabaseMetadataJul 29, 2019
@olavloite
olavloiteforce-pushed the spanner-jdbc-28-jdbc-database-metadata branch from 9113879 to 013a3f5CompareJuly 30, 2019 11:07
}

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

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

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-jdbcJul 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@olavloite@kolea2@googlebot