[QUESTION] Are the alias settings utilized as set in the SQL Server Native Client configuration? #2009
Labels
Backlog
The topic in question has been recognized and added to development backlog
Enhancement
An enhancement to the driver. Lower priority than bugs.
Projects
Question
I would like to use the alias settings as set within the SQL Server Native Client configuration for my application. However, I haven't been able to get it to work yet. I understand that the native client is old and deprecated. However, the settings are valid and used by other drivers. I tested with the latest SQL Server OLE driver -
MSOLEDBSQL
- and the alias settings are respected.Does the
mssql-jdbc
driver use the alias settings? If so, what is the proper alias name to redirect the jdbc connection string? I understand how to redirect SSMS or a normal connection string fromserver1,port1
toserver2,port2
via the alias, however I am not sure what text is needed in the alias to redirectjdbc:sqlserver://servername:port
to a new servername and port. I tried to redirect bothservername,port
andservername:port
without success. I tested with version com.microsoft.sqlserver:mssql-jdbc:9.4.0.jre11.The text was updated successfully, but these errors were encountered: