Cannot access SQL Server database using jtds
问题 I am trying to access a SQL Server database using Java and jtds. This is my (very) simple code: String url = "jdbc:jtds:sqlserver://dev.company.com:1433/master;domain=COMP;USENTLMV2=true;SSL=request"; String driver = "net.sourceforge.jtds.jdbc.Driver"; String userName = "COMP\\username"; String password = "s3cr3t"; Connection conn = null; try { Class.forName(driver); conn = DriverManager.getConnection(url, userName, password); } catch (Exception e) { e.printStackTrace(); } finally { conn