Replies: 1 comment
-
How to confirm whether SnowflakeConnectionPoolDataSource maintaining connection pool or not.Where do we configure the size of the connection pool and where do we see the pool of connection objects.Can you please help on this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
SnowflakeConnectionPoolDataSource snowflakePoolDataSource = new SnowflakeConnectionPoolDataSource();
snowflakePoolDataSource.setUrl(snowflakeUrl);
snowflakePoolDataSource.setUser(properties.getProperty("user"));
snowflakePoolDataSource.setPrivateKey(encryptedPrivateKey);
snowflakePoolDataSource.setRole(properties.getProperty("role"));
snowflakePoolDataSource.setDatabaseName(properties.getProperty("db"));
snowflakePoolDataSource.setSchema(properties.getProperty("schema"));
snowflakePoolDataSource.setWarehouse(properties.getProperty("warehouse"));
Beta Was this translation helpful? Give feedback.
All reactions