You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it
I'm one of the maintainers of the Cloud SQL Java Connector and my team is working on making improvements to the JDBC socket factory for SQL Server by allowing users to pass in more configuration options (for example, allowing them to specify connecting over Public or Private IP). In order to do this, we would need to pass in more than one argument to the SocketFactory constructor.
Describe the preferred solution
Instead of passing in a socketFactoryConstructorArg string to the SocketFactory constructor, give it access to all of the properties from the JDBC connection URL.
Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it
I'm one of the maintainers of the Cloud SQL Java Connector and my team is working on making improvements to the JDBC socket factory for SQL Server by allowing users to pass in more configuration options (for example, allowing them to specify connecting over Public or Private IP). In order to do this, we would need to pass in more than one argument to the
SocketFactory
constructor.Describe the preferred solution
Instead of passing in a
socketFactoryConstructorArg
string to theSocketFactory
constructor, give it access to all of the properties from the JDBC connection URL.Reference Implementation
Example implementation from Postgres JDBC Driver: https://github.com/pgjdbc/pgjdbc/blob/01dbbac5b6c43e1079a463119e13c1bee74cbfdb/pgjdbc/src/main/java/org/postgresql/core/SocketFactoryFactory.java#L39
The text was updated successfully, but these errors were encountered: