<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
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/72253644-1e0a-4bef-9c33-b5b7df234fcb%40googlegroups.com.
No comments:
Post a Comment