If you want to connect to the server using Windows integrated authentication, you
must add
;integratedSecurity=true to the end of the URL. The URL will
look like
this:
jdbc:sqlserver://localhost;instanceName=SQLEXPRESS;integratedSecurity=true;
Note: For
integrated authentication, leave the User and
Password fields empty.