<dependency>
<groupId>com.google.cloud.sql</groupId>
<artifactId>postgres-socket-factory</artifactId>
<version>1.0.14</version>
</dependency>
Property setting in java.
config.addDataSourceProperty("cloudSqlInstance", CLOUD_SQL_CONNECTION_NAME);
So working setup.
Maven dependency:
<dependency>
<groupId>com.google.cloud.sql</groupId>
<artifactId>postgres-socket-factory</artifactId>
<version>1.0.1o</version>
</dependency>
Property setting in java.
config.addDataSourceProperty("socketFactoryArg", CLOUD_SQL_CONNECTION_NAME);
Now sure I can go with the "old" setup but I always want to use the newest versions.
Any clue on what I am missing or maybe I'm not that dumb and there is a bug somewhere?
//Eric
Hello Eric,
I see that you are having difficulty with your environment, which is why I suggest moving the troubleshooting to Stackoverflow[1] to obtain assistance from our programming community for your question.
[1] https://stackoverflow.com/