File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ A simple Spring Boot command line app to test JDBC connection to SQL Server data
4
4
5
5
## How to run
6
6
7
- Download the JAR from release page or alternatively download the code and build the jar file :
7
+ Download the JAR from release page or alternatively checkout the code from this repository and run :
8
8
9
9
```
10
10
mvn clean package
@@ -13,9 +13,11 @@ mvn clean package
13
13
Execute the JAR file. Example below:
14
14
15
15
```
16
- java -jar target/ms-sqlserver-jdbc-1.0.jar ""jdbc:sqlserver://mydatabase.db.windows.net:1433;database=example@user.com ;user=myser @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"
17
17
```
18
18
19
+ The app will attempt to connect to SQL Server and execute a single SQL query: ` SELECT SUSER_SNAME() ` .
20
+
19
21
20
22
## License
21
23
(The MIT License)
You can’t perform that action at this time.
0 commit comments