Skip to content
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

Postgres & CloudSQL update for flex #738

Merged
merged 1 commit into from
Jun 29, 2017
Merged

Postgres & CloudSQL update for flex #738

merged 1 commit into from
Jun 29, 2017

Conversation

lesv
Copy link
Contributor

@lesv lesv commented Jun 29, 2017

  1. update cloudSql to latest plugin and make the sample a bit cleaner.
  2. add postgresql sample.

1. update cloudSql to latest plugin and make the sample a bit cleaner.
2. add postgresql sample.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 29, 2017
@lesv lesv requested a review from jabubake June 29, 2017 18:20
@lesv
Copy link
Contributor Author

lesv commented Jun 29, 2017

I'm going to merge, but I'd rather the init method threw all the things I catch.

@lesv
Copy link
Contributor Author

lesv commented Jun 29, 2017

Well, I can't change init() to add the other types, so I'm going to keep this.

@lesv lesv merged commit 03d504c into master Jun 29, 2017
@lesv lesv deleted the postgre-cloudsql branch June 29, 2017 18:26
Copy link
Contributor

@jabubake jabubake left a comment

Choose a reason for hiding this comment

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

LGTM, minor comments.

log("connecting to: " + url);
try {
Class.forName("com.mysql.jdbc.Driver");
conn = DriverManager.getConnection(url);
Copy link
Contributor

Choose a reason for hiding this comment

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

(optional/future) instead of DriverManager.getConnection,
connection pooling with commons-bcp : https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2

@@ -0,0 +1,24 @@
# Copyright 2016 Google Inc.
Copy link
Contributor

Choose a reason for hiding this comment

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

2017

@@ -0,0 +1,127 @@
/**
* Copyright 2016 Google Inc.
Copy link
Contributor

Choose a reason for hiding this comment

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

2017

Shabirmean pushed a commit that referenced this pull request Nov 14, 2022
* Tag fix

* rerun conventional commit
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
* Tag fix

* rerun conventional commit
Shabirmean pushed a commit that referenced this pull request Nov 17, 2022
Shabirmean pushed a commit that referenced this pull request Nov 18, 2022
anguillanneuf pushed a commit that referenced this pull request Dec 5, 2022
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.

3 participants