Skip to content

A JDBC connection should have a reset method to reset it to the original state #1116

Closed
googleapis/java-spanner
#3142
@olavloite

Description

@olavloite

Applications that use a connection pool might set certain properties on a JDBC connection. These will 'leak' to other users of the same session pool if the user does not reset the connection manually. Having a generic reset method will make this easier for users.

Unfortunately there is no generic reset method in the JDBC API.

There should also be a SQL command that can do the same, so it can be registered as a reset SQL command in the connection pool

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner-jdbc API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions