Skip to content

feat: Support CREATE DATABASE and ALTER DATABASE in JDBC #457

@olavloite

Description

@olavloite

The JDBC driver supports all DDL statements that affect an existing database, but currently does not support CREATE DATABASE. It also does not support the ALTER DATABASE statement for any other database than the one that the client is connected to at that moment. This makes it difficult to create and maintain databases using JDBC. The JDBC driver should therefore support:

  • Connecting to an instance without connecting to a specific database.
  • Executing CREATE DATABASE statements
  • Executing ALTER DATABASE statements for other databases than the one the client is connected to at that moment.
  • Executing DROP DATABASE statements
  • Listing existing databases on an instance (SHOW VARIABLE DATABASES)

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner-jdbc API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions