What's the equivalent of JTDS properties in Microsoft JDBC?

馋奶兔 提交于 2019-12-02 08:54:50

问题


I am changing my JTDS connection to Microsoft JDBC, and I see some properties that exist on http://jtds.sourceforge.net/faq.html that do no exist in Microsoft JDBC https://docs.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties?view=sql-server-2017. Specifically, I am wondering about the equivalent properties in MS JDBC of:

  • domain
  • namedPipe
  • useNTLMv2

回答1:


Microsoft's JDBC driver for SQL Server does not support those options. It only supports

  • TCP/IP (not named pipes), and
  • native Windows authentication (via sqljdbc_auth.dll) or Kerberos for SQL Server "Windows authentication" (not NTLM).


来源:https://stackoverflow.com/questions/54205301/whats-the-equivalent-of-jtds-properties-in-microsoft-jdbc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!