-
Notifications
You must be signed in to change notification settings - Fork 1.1k
spanner-jdbc: Step 03 - Generic connection interface #5807
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
spanner-jdbc: Step 03 - Generic connection interface #5807
Conversation
| * @return a string representation of this {@link AutocommitDmlMode} that can be used in a SQL | ||
| * statement. | ||
| */ | ||
| public String statementString() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change to getStatementString?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to getStatementString
9c483d1 to
438f8e6
Compare
Codecov Report
@@ Coverage Diff @@
## spanner-jdbc #5807 +/- ##
==================================================
+ Coverage 46.12% 46.12% +<.01%
Complexity 24189 24189
==================================================
Files 2456 2456
Lines 262236 262236
Branches 29602 29602
==================================================
+ Hits 120949 120959 +10
+ Misses 132175 132166 -9
+ Partials 9112 9111 -1
Continue to review full report at Codecov.
|
* create jdbc project * added spanner-jdbc to versions * add interfaces for client side statements * changed prerequisiteStatements to examplePrequisiteStatements * add generic connection interface * changed to normal getter name
The JDBC driver is built on top of a generic connection based API. This PR adds the interface for this generic API. The interface itself is package-private, as it is not intended for end users. The
TransactionRetryListenerinterface is public, as these listeners can also be added for a JDBC connection.