File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ mvn clean package
1313Execute the JAR file. Example below:
1414
1515```
16- java -jar target/ms-sqlserver-jdbc-1.0.jar "" jdbc:sqlserver://mydatabase.db.windows.net:1433;database=My_Example_DB;user=user@example.com;password=secret123;encrypt=true;trustServerCertificate=true;loginTimeout=90;authentication=ActiveDirectoryPassword"
16+ java -jar target/ms-sqlserver-jdbc-1.0.jar "jdbc:sqlserver://mydatabase.db.windows.net:1433;database=My_Example_DB;user=user@example.com;password=secret123;encrypt=true;trustServerCertificate=true;loginTimeout=90;authentication=ActiveDirectoryPassword"
1717```
1818
19- The app will attempt to connect to SQL Server and execute a single SQL query: ` SELECT SUSER_SNAME() ` .
19+ To test the JDBC connection the app will attempt to connect to SQL Server and execute a single SQL query: ` SELECT SUSER_SNAME() ` and close connection .
2020
2121
2222## License
You can’t perform that action at this time.
0 commit comments