I'm trying to connect to a MS SQL database from my machine using Java.
Generally, I login to a remote desktop and connect to the database using Windows Authentication of the remote desktop.
I tried using JTDS
"jdbc:jtds:sqlserver://<database server>;"
+ "user=<domain>\<username>;password=<password>"
But that returned with login failure error. "java.sql.SQLException: Login failed for user 'domain\username'."