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

Skip to content

Conversation

@olavloite
Copy link

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 TransactionRetryListener interface is public, as these listeners can also be added for a JDBC connection.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 23, 2019
@olavloite olavloite marked this pull request as ready for review July 23, 2019 11:48
@olavloite olavloite requested a review from kolea2 July 23, 2019 11:49
* @return a string representation of this {@link AutocommitDmlMode} that can be used in a SQL
* statement.
*/
public String statementString() {
Copy link
Contributor

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?

Copy link
Author

Choose a reason for hiding this comment

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

Changed to getStatementString

@kolea2 kolea2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 23, 2019
@olavloite olavloite force-pushed the spanner-jdbc-03-generic-connection-interface branch from 9c483d1 to 438f8e6 Compare July 23, 2019 15:22
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 23, 2019
@codecov
Copy link

codecov bot commented Jul 24, 2019

Codecov Report

Merging #5807 into spanner-jdbc will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@                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
Impacted Files Coverage Δ Complexity Δ
...ain/java/com/google/cloud/pubsub/v1/Publisher.java 89.78% <0%> (+0.35%) 40% <0%> (ø) ⬇️
...gle/cloud/pubsub/v1/SequentialExecutorService.java 90.8% <0%> (+3.44%) 0% <0%> (ø) ⬇️
.../cloud/datastore/testing/LocalDatastoreHelper.java 85.07% <0%> (+4.47%) 17% <0%> (ø) ⬇️
.../java/com/google/cloud/testing/CommandWrapper.java 96.96% <0%> (+9.09%) 13% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae46c78...e2ad02e. Read the comment docs.

@kolea2 kolea2 merged commit dcd7fd2 into googleapis:spanner-jdbc Jul 24, 2019
olavloite added a commit to olavloite/google-cloud-java that referenced this pull request Aug 5, 2019
* 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
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.

4 participants